woogool_subtab_path

The WooCommerce Google product feed woogool subtab path hook.

Description

apply_filters( 'woogool_subtab_path', (unknown) $path, (unknown) $page, (unknown) $tab, (unknown) $subtab ); 

Parameters (4)

0. $path (unknown)
The path.
1. $page (unknown)
The page.
2. $tab (unknown)
The tab.
3. $subtab (unknown)
The subtab.

Usage

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

Defined (2)

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

/admin/class-woogool-admin-settings.php  
  1. $path = apply_filters( 'woogool_subtab_path', $path, $page, $tab, $subtab ); 
  1. $path = apply_filters( 'woogool_subtab_path', $path, $page, $tab, $subtab );