Celebrate WordCamp Europe - 30% OFF! Use coupon WC30 - View Details

wsf_table_submit_field_type_list

Description

The wsf_table_submit_field_type_list filter allows you to change the output of a field in the Submissions page.

Usage

add_filter( 'wsf_table_submit_field_type_list', 'my_hook_function', 10, 3 );

Parameters

  1. $value Mixed
    The field value
  2. $field_id Integer
    The field ID
  3. $field_type String
    The field type (e.g. text)

Example

// Callback function for the wsf_table_submit_field_type_list filter hook
function my_hook_function( $value, $field_id, $field_type ) {
	
	// Your code here ...

	// Return value
	return $value;
}

// Add a callback function for the wsf_table_submit_field_type_list filter hook
add_filter( 'wsf_table_submit_field_type_list', 'my_hook_function', 10, 3 );

Source File

This hook can be found in: <plugin root>/admin/class-ws-form-wp-list-table-submit.php