ActionScheduler_ListTable::column_hook
Render the hook name and action ID.
Method of the class: ActionScheduler_ListTable{}
No Hooks.
Returns
string.
Usage
$ActionScheduler_ListTable = new ActionScheduler_ListTable(); $ActionScheduler_ListTable->column_hook( $row );
- $row(array) (required)
- Action data.
ActionScheduler_ListTable::column_hook() ActionScheduler ListTable::column hook code WC 11.2.2
public function column_hook( $row ) {
$action_id = sprintf(
/* translators: %d: Action ID. */
__( 'ID: %d', 'woocommerce' ),
absint( $row['ID'] )
);
return esc_html( $row['hook'] ) . '<br><small>' . esc_html( $action_id ) . '</small>' . $this->maybe_render_actions( $row, 'hook' );
}