bws_shortcode_button_content
The Google Shortlink by BestWebSoft bws shortcode button content hook.
Description
Parameters (1)
- 0. $var (string) =>
''
- The var.
Usage
- To run the hook, copy the example below.
- $var = apply_filters( 'bws_shortcode_button_content', $var );
- if ( !empty( $var ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the bws_shortcode_button_content callback
- function filter_bws_shortcode_button_content( $var ) {
- // make filter magic happen here...
- return $var;
- };
- // add the filter
- add_filter( 'bws_shortcode_button_content', 'filter_bws_shortcode_button_content', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'bws_shortcode_button_content', 'filter_bws_shortcode_button_content', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /bws_menu/bws_functions.php
- <?php echo apply_filters( 'bws_shortcode_button_content', '' ); ?>