Recipe_Post_Type::default_recipe_title( $post_title, $post )
Contents
Parameters Parameters
- $post_title
-
(Required)
- $post
-
(Required)
Return Return
(string)
Source Source
File: src/core/automator-post-types/uo-recipe/class-recipe-post-type.php
public function default_recipe_title( $post_title, $post ) { if ( 'uo-recipe' === (string) $post->post_type ) { return esc_attr__( 'New recipe', 'uncanny-automator' ); } return $post_title; }
Expand full source code Collapse full source code View on Github