wysija_link

The MailPoet Newsletters wysija link hook.

Description

apply_filters( 'wysija_link', (string) $var, (unknown) $url_url, (int) $int, (int) $int, (bool) $false ); 

Parameters (5)

0. $var (string) => ''
The var.
1. $url_url (unknown)
The url url.
2. $int (int) => 50
The int.
3. $int (int) => 15
The int.
4. $false (bool) => false
The false.

Usage

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

Defined (4)

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

/modules/stats_subscribers_std/stats_subscribers_std_view.php  
  1. $wysija_link = apply_filters('wysija_link', '', $url['url'], 50, 15, false); 
  1. $wysija_link = apply_filters('wysija_link', '', $url['url'], 50, 15, false); 
/modules/stats_newsletter_std/stats_newsletter_std_view.php  
  1. $wysija_link = apply_filters('wysija_link', '', $url['url'], 50, 15, true); 
  1. $wysija_link = apply_filters('wysija_link', '', $url['url'], 50, 15, true);