Recipe_Post_Type::default_recipe_title( $post_title,  $post )


Parameters Parameters

$post_title

(Required)

$post

(Required)


Top ↑

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;
	}