Automator_Taxonomies::__construct()
RecipePostType constructor.
Source
File: src/core/automator-post-types/uo-taxonomies/class-automator-taxonomies.php
public function __construct() { // Create and register custom taxonomies add_filter( 'init', array( $this, 'recipe_taxonomies' ) ); // Create Filter drop downs for recipe taxonomies add_action( 'restrict_manage_posts', array( $this, 'filter_taxonomies' ), 10, 2 ); // Add the custom columns to the book post type add_filter( 'manage_uo-recipe_posts_columns', array( $this, 'add_custom_columns' ), 10, 3 ); // Add the data to custom columns add_action( 'manage_uo-recipe_posts_custom_column', array( $this, 'add_custom_column_data' ), 10, 2 ); }
Expand full source code Collapse full source code View on Github