wcsl_update_link_text_$this->slug

Description

apply_filters( 'wcsl_update_link_text_'. $this->slug, __( 'Check for updates', $this->text_domain ) )

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

$str = apply_filters( 'wcsl_update_link_text_'. $this->slug, $str );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter wcsl_update_link_text_$this->slug callback
function my_filter_function( 'wcsl_update_link_text_'. $this->slug, $param ) {
  // do your thing here :-) ... 

  return $str; 
}
add_filter( 'wcsl_update_link_text_' . $this->slug, 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

//remove the filter
remove_filter( 'wcsl_update_link_text_' . $this->slug, 'my_filter_function', 10, 1 );

Defined

This filter is defined in the following source file(s)

  • wcvendors-pro/includes/lib/class-wc-software-license-client.php line 506
    $update_link_text = apply_filters( 'wcsl_update_link_text_'. $this->slug, __( 'Check for updates', $this->text_domain ) );

filters

Updated on January 9, 2017

Was this article helpful?