Action
rpress_fooditem_data_panels
Fires at the bottom of the menu item editor, after all sections are rendered.
Runs inside the rp-fooditem-editor container after the core sections and their extension hooks. Output extra panels or markup for the whole editor here.
Example#
function my_fooditem_editor_footer() {
echo '<p class="description">' . esc_html__( 'Changes apply after you update the item.', 'my-plugin' ) . '</p>';
}
add_action( 'rpress_fooditem_data_panels', 'my_fooditem_editor_footer' );
Notes#
No arguments are passed. The name dates from the tabbed editor; the editor now has no tabs.
Source#
Fired from:
includes/admin/fooditems/views/html-fooditem-data-panel.php(line 15)
See also#
Was this page helpful?
