rpress_get_fooditem()

Author: bibhu 387 views

This function can be used to retrieve the post object for a fooditem by either ID or slug.

Example:

$fooditem = rpress_get_fooditem(34); 
$fooditem = rpress_get_fooditem('fooditem'); 

// you can now do things like this:
$title = $download->post_title;