bpcp_iwilldo_it_myself
The BuddyPress Cover Photo bpcp iwilldo it myself hook.
Description
Parameters (1)
- 0. $false (bool) =>
false
- The false.
Usage
- To run the hook, copy the example below.
- $false = apply_filters( 'bpcp_iwilldo_it_myself', $false );
- if ( !empty( $false ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the bpcp_iwilldo_it_myself callback
- function filter_bpcp_iwilldo_it_myself( $false ) {
- // make filter magic happen here...
- return $false;
- };
- // add the filter
- add_filter( 'bpcp_iwilldo_it_myself', 'filter_bpcp_iwilldo_it_myself', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'bpcp_iwilldo_it_myself', 'filter_bpcp_iwilldo_it_myself', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /profile-cover.php
- if ( empty( $image_url ) || apply_filters('bpcp_iwilldo_it_myself', false) ) {
- if ( empty( $image_url ) || apply_filters( 'bpcp_iwilldo_it_myself', false ) ) {