content_bootstrap_wrap
The WordPress Core content bootstrap wrap hook.
Description
Parameters (1)
- 0. $true (bool)
- The true.
Usage
- To run the hook, copy the example below.
- $true = apply_filters( 'content_bootstrap_wrap', $true );
- if ( !empty( $true ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the content_bootstrap_wrap callback
- function filter_content_bootstrap_wrap( $true ) {
- // make filter magic happen here...
- return $true;
- };
- // add the filter
- add_filter( 'content_bootstrap_wrap', 'filter_content_bootstrap_wrap', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'content_bootstrap_wrap', 'filter_content_bootstrap_wrap', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /includes/bootstrap.php
- $wrap = apply_filters( 'content_bootstrap_wrap', true );