content_bootstrap_dir

The Content Bootstrap content bootstrap dir hook.

Description

apply_filters( 'content_bootstrap_dir', (unknown) $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version ); 

Parameters (1)

0. $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version (unknown)
The this plugins url bootstrap content bootstrap get bootstrap version.

Usage

To run the hook, copy the example below.
  1. $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version = apply_filters( 'content_bootstrap_dir', $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version ); 
  2.  
  3. if ( !empty( $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the content_bootstrap_dir callback 
  2. function filter_content_bootstrap_dir( $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version ) { 
  3. // make filter magic happen here... 
  4. return $this_plugins_url_bootstrap_content_bootstrap_get_bootstrap_version
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'content_bootstrap_dir', 'filter_content_bootstrap_dir', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'content_bootstrap_dir', 'filter_content_bootstrap_dir', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/includes/bootstrap.php  
  1. $dir = apply_filters(