monsterinsights_registered_settings

The Google Analytics for WordPress by MonsterInsights monsterinsights registered settings hook.

Description

apply_filters( 'monsterinsights_registered_settings', (unknown) $monsterinsights_settings ); 

Parameters (1)

0. $monsterinsights_settings (unknown)
The monsterinsights settings.

Usage

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

Defined (1)

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

/includes/admin/settings/register-settings.php  
  1. return apply_filters( 'monsterinsights_registered_settings', $monsterinsights_settings );