woogool_tab_menu_url

The WooCommerce Google product feed woogool tab menu url hook.

Description

apply_filters( 'woogool_tab_menu_url', (unknown) $url, (unknown) $woogool_page_slug, (unknown) $tab ); 

Parameters (3)

0. $url (unknown)
The url.
1. $woogool_page_slug (unknown) => woogool_page_slug()
The woogool page slug.
2. $tab (unknown)
The tab.

Usage

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

Defined (1)

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

/includes/function.php  
  1. return apply_filters( 'woogool_tab_menu_url', $url, woogool_page_slug(), $tab );