nf_sub_table_before_row_actions_trash
The Ninja Forms nf sub table before row actions trash hook.
Description
Parameters (2)
- 0. $sub_id (unknown)
- The sub id.
- 1. $column (unknown)
- The column.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'nf_sub_table_before_row_actions_trash', $sub_id, $column );
- The following example is for adding a hook callback.
- // define the nf_sub_table_before_row_actions_trash callback
- function action_nf_sub_table_before_row_actions_trash( $sub_id, $column ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'nf_sub_table_before_row_actions_trash', 'action_nf_sub_table_before_row_actions_trash', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'nf_sub_table_before_row_actions_trash', 'action_nf_sub_table_before_row_actions_trash', 10, 2 );
Defined (1)
The action is defined in the following location(s).
- /deprecated/classes/subs-cpt.php
- do_action( 'nf_sub_table_before_row_actions_trash', $sub_id, $column );