wcde_filter_gettext_read_accept_string

New string labels: backwards compatible with our former 'gettext' approach.

Description

apply_filters( 'wcde_filter_gettext_read_accept_string', (string) $bedingungen_gelesen_und_zur_kenntnis_genommen ); 

NOTE I: Kept filter names from v3.0.0+ to ensure backwards compatibility!

NOTE II: Both filters WON'T work for WooCommerce v2.1.6+ !

Parameters (1)

0. $bedingungen_gelesen_und_zur_kenntnis_genommen (string) => 'Bedingungen gelesen und zur Kenntnis genommen:'
The bedingungen gelesen und zur kenntnis genommen.

Usage

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

Defined (1)

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

/includes/wcde-string-swaps.php  
  1. $wcde_read_accept_string = apply_filters(