Populate_From_Query::is_new_recipe()
Check if the post is an Automator recipe and is newly created.
Return Return
(bool)
Source Source
File: src/core/classes/class-populate-from-query.php
protected static function is_new_recipe() { if ( 'uo-recipe' !== self::$post->post_type ) { return false; } if ( 'auto-draft' !== self::$post->post_status ) { return false; } return true; }
Expand full source code Collapse full source code View on Github