rpress_before_fooditem_content

Author: bibhu 16 views

Runs just before the content for a single fooditem is displayed. Usually this happens in single.php or single-fooditem.php.

This action is primarily for adding extra content to the top of fooditem content, most likely in scenarios where you are unable to modify the template files, or do not have a single-fooditem.php.

The fooditem ID is passed as a parameter.