gravityflow_status_args

The gravityflow_status_args filter is a very flexible filter which allows a lot of control over the way the Status table is rendered.

Example usage:

/**
 * Add a bulk action to the status table. Use in conjuntion with the gravityflow_bulk_action_status_table filter.
 *
 * @param $args
 *
 * @return array
 */
function sh_gravityflow_status_args( $args ) {

	if ( ! isset( $args['bulk_actions'] ) ) {
		$args['bulk_actions'] = array();
	}

	$bulk_actions = array(
		'custom_action' => 'My Custom Action',
	);

	$args['bulk_actions'] = array_merge( $args['bulk_actions'], $bulk_actions );

	return $args;
}
add_filter( 'gravityflow_status_args', 'sh_gravityflow_status_args', 20 );

Placement

This code should be placed in the functions.php file of your active theme.