<prefix>display_options

The All In One SEO Pack prefix display options hook.

Description

apply_filters( '<prefix>display_options', (unknown) $this_get_current_options_array_location_defaults, (unknown) $location ); 

Parameters (2)

0. $this_get_current_options_array_location_defaults (unknown)
The this get current options array location defaults.
1. $location (unknown)
The location.

Usage

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

Defined (1)

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

/admin/aioseop_module_class.php  
  1. $current_options = apply_filters( "{$this->prefix}display_options", $this->get_current_options( array(), $location, $defaults ), $location );