redux/extension/<args_opt_name>/<name>

The evolve redux extension args opt name hook.

Description

apply_filters( 'redux/extension/<args_opt_name>/<name>', (unknown) $extension_path ); 

Parameters (1)

0. $extension_path (unknown)
The extension path.

Usage

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

Defined (1)

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

/library/admin/redux-framework/inc/class.redux_api.php  
  1. $extension['path'] = apply_filters( 'redux/extension/' . $ReduxFramework->args['opt_name'] . '/' . $name, $extension['path'] );