Populate_From_Query::init( WP_Post $post )

Initialize class, populate the variables from the hook call.


Parameters Parameters

$post

(Required)


Source Source

File: src/core/classes/class-populate-from-query.php

	public static function init( $post ) {
		self::$recipe = new Recipe();
		self::$post   = $post;
	}