wsf_table_submit_column_actions

Description

The wsf_table_submit_column_actions filter allows you to change the actions shown for each Submissions row.

Usage

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

Parameters

  1. $actions Array
    An array of the actions. Each array element contains an href tag.
  2. $item Array
    The WordPress list table class column item.
  3. $status String
    The WS Form submission status in view.

Example

// Callback function for the wsf_table_submit_column_actions filter hook
function my_hook_function( $actions, $item, $status ) {
	
	// Your code here ...

	// Return value
	return $actions;
}

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

Source File

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