<function>
The Google Destination URL function hook.
Description
Parameters (1)
- 0. $gdurl_transient_s (unknown)
- The gdurl transient s.
Usage
- To run the hook, copy the example below.
- $gdurl_transient_s = apply_filters( '{$function}', $gdurl_transient_s );
- if ( !empty( $gdurl_transient_s ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the <function> callback
- function filter_function( $gdurl_transient_s ) {
- // make filter magic happen here...
- return $gdurl_transient_s;
- };
- // add the filter
- add_filter( "{$function}", 'filter_function', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( "{$function}", 'filter_function', 10, 1 );
Defined (4)
The filter is defined in the following location(s).
- /gdurl.php
- return apply_filters(
- return apply_filters(
- return apply_filters(
- /gdurl-googapi.php
- return apply_filters(__FUNCTION__, $json);