this->id_manage_options

Description

apply_filters( $this->id . '_manage_options', 'manage_options' )

Parameters ( 1 ) ( stringĀ )

Usage Examples

To run the filter, copy this sample

$str = apply_filters( $this->id . '_manage_options', 'manage_options' );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter this->id_manage_options callback
function my_filter_function( $param )  {
  // do your thing here :-) ... 

  return $str;
}
add_filter( 'this->id_manage_options' , 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'this->id_manage_options', 'my_filter_function', 10, 1 );

Defined

This filter is defined in the following source file(s)

  • wc-vendors/classes/admin/settings/classes/sf-class-settings.php line 248
    $page = add_submenu_page( $this->menu, $this->title, $this->title, apply_filters( $this->id . '_manage_options', 'manage_options' ), $this->id, array( &$this, 'init_settings_page' ) );

filters

Updated on January 14, 2017

Was this article helpful?