redux/extension/<args_opt_name>/<folder>

The Gravity Forms Advanced File Uploader redux extension args opt name folder hook.

Description

apply_filters( 'redux/extension/<args_opt_name>/<folder>', (unknown) $class_file ); 

Parameters (1)

0. $class_file (unknown)
The class file.

Usage

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

Defined (2)

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

/inc/ReduxFramework/ReduxCore/redux-extensions/loader.php  
  1. $class_file = apply_filters( 'redux/extension/'.$ReduxFramework->args['opt_name'].'/'.$folder, $class_file ); 
/inc/ReduxFramework/ReduxCore/framework.php  
  1. $class_file = apply_filters( "redux/extension/{$this->args['opt_name']}/$folder", "$path/$folder/extension_{$folder}.php", $class_file );