Action
rpress_fooditem_history_header_end
Fires at the end of the header row of the menu item history table.
Runs inside the table header row after the item name column. Callbacks should echo a th cell; pair it with rpress_fooditem_history_row_end for the body rows.
Example#
add_action( 'rpress_fooditem_history_header_end', 'my_history_header_end_col' );
function my_history_header_end_col() {
echo '<th>' . esc_html__( 'Reorder', 'my-textdomain' ) . '</th>';
}
Source#
Fired from:
templates/history-fooditems.php(line 23)
See also#
Was this page helpful?
