Action
rpress_fooditem_options_category_data
Fires at the end of the Category, Tags & Dietary section of the menu item editor.
Runs after the category, tag and dietary label fields, still inside the section container. Output extra fields or markup that belong with the item's category data.
Example#
function my_fooditem_category_data_extra() {
echo '<p class="description">' . esc_html__( 'Extra category settings go here.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_fooditem_options_category_data', 'my_fooditem_category_data_extra' );
Notes#
No arguments are passed.
Source#
Fired from:
includes/admin/fooditems/views/html-fooditem-data-category.php(line 179)
See also#
Was this page helpful?
