Добавление фильтров в админку для кастомных таксономий
/** * Display a custom taxonomy dropdown in admin * @author Mike Hemberger * @link http://thestizmedia.com/custom-post-type-filter-admin-custom-taxonomy/ */ add_action(‘restrict_manage_posts’, ‘tsm_filter_post_type_by_taxonomy’); function tsm_filter_post_type_by_taxonomy() { global $typenow; $post_type