wpsc_account_form_field_<ff_tag>

The WP eCommerce wpsc account form field ff tag hook.

Description

apply_filters( 'wpsc_account_form_field_<ff_tag>', $esc_html ); 

Parameters (1)

0. $esc_html
The esc html.

Usage

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

Defined (2)

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

/wpsc-theme/functions/wpsc-user_log_functions.php  
  1. echo "<strong>" . apply_filters( 'wpsc_account_form_field_' . $ff_tag, esc_html( $form_field['name'] ) ) . "</strong>"; 
  1. echo apply_filters( 'wpsc_account_form_field_' . $ff_tag, $form_field['name'] );