<prefix>display_settings

The All In One SEO Pack prefix display settings hook.

Description

apply_filters( '<prefix>display_settings', (unknown) $this_setting_options_location_defaults, (unknown) $location, (unknown) $current_options ); 

Parameters (3)

0. $this_setting_options_location_defaults (unknown)
The this setting options location defaults.
1. $location (unknown)
The location.
2. $current_options (unknown)
The current options.

Usage

To run the hook, copy the example below.
  1. $this_setting_options_location_defaults = apply_filters( '{$prefix}display_settings', $this_setting_options_location_defaults, $location, $current_options ); 
  2.  
  3. if ( !empty( $this_setting_options_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_settings callback 
  2. function filter_prefixdisplay_settings( $this_setting_options_location_defaults, $location, $current_options ) { 
  3. // make filter magic happen here... 
  4. return $this_setting_options_location_defaults
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( "{$prefix}display_settings", 'filter_prefixdisplay_settings', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( "{$prefix}display_settings", 'filter_prefixdisplay_settings', 10, 3 ); 

Defined (1)

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

/admin/aioseop_module_class.php  
  1. $settings = apply_filters( "{$this->prefix}display_settings", $this->setting_options( $location, $defaults ), $location, $current_options );