Recipe_Post_Rest_Api::__construct()

Recipe_Post_Rest_Api constructor.


Source Source

File: src/core/automator-post-types/uo-recipe/class-recipe-post-rest-api.php

	public function __construct() {

		// Register API class
		add_action( 'rest_api_init', array( $this, 'register_routes_for_recipes' ), 20 );
	}