<prefix>override_options

The All In One SEO Pack prefix override options hook.

Description

apply_filters( '<prefix>override_options', (unknown) $current_options, (unknown) $location, (unknown) $settings ); 

Parameters (3)

0. $current_options (unknown)
The current options.
1. $location (unknown)
The location.
2. $settings (unknown)
The settings.

Usage

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

Defined (1)

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

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