<prefix>update_options

The All In One SEO Pack prefix update options hook.

Description

apply_filters( '<prefix>update_options', (unknown) $this_options, (unknown) $location ); 

Parameters (2)

0. $this_options (unknown)
The this options.
1. $location (unknown)
The location.

Usage

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

Defined (1)

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

/admin/aioseop_module_class.php  
  1. $this->options = apply_filters( $this->prefix . 'update_options', $this->options, $location );