• Hi
    I have a taxonomy with custom capabilties. This is output of get_taxonomies() :

    [tamano] => WP_Taxonomy Object
    (
    	[name] => tamano
    	[label] => Tama?os
    	[labels] => stdClass Object
    		(
    			[name] => Tama?os
    			[singular_name] => Tama?o
    			[search_items] => Search Tama?os
    			[popular_items] => Popular Tama?os
    			[all_items] => Todos los Tama?os
    			[parent_item] => Tama?o Padre
    			[parent_item_colon] => Parent Tama?o:
    			[edit_item] => Editar Tama?o
    			[view_item] => Ver Tama?o
    			[update_item] => Actualizar Tama?o
    			[add_new_item] => Agregar Nuevo Tama?o
    			[new_item_name] => Nuevo Tama?o
    			[separate_items_with_commas] => Separate Tama?os with commas
    			[add_or_remove_items] => Add or remove Tama?os
    			[choose_from_most_used] => Choose from the most used Tama?os
    			[not_found] => No se encontraron categorías.
    			[no_terms] => No hay categorías
    			[items_list_navigation] => Navegación por la lista de categorías
    			[items_list] => Lista de categorías
    			[most_used] => Más utilizadas
    			[back_to_items] => ← Volver a categorías
    			[menu_name] => Tama?os
    			[name_admin_bar] => Tama?o
    			[archives] => Todos los Tama?os
    		)
    
    	[description] => Tama?o con respecto al número de empleados
    	[public] => 1
    	[publicly_queryable] => 1
    	[hierarchical] => 1
    	[show_ui] => 1
    	[show_in_menu] => 1
    	[show_in_nav_menus] => 1
    	[show_tagcloud] => 1
    	[show_in_quick_edit] => 
    	[show_admin_column] => 
    	[meta_box_cb] => post_categories_meta_box
    	[object_type] => Array
    		(
    			[0] => empresas
    		)
    
    	[cap] => stdClass Object
    		(
    			[manage_terms] => manage_tamano
    			[edit_terms] => manage_tamano
    			[delete_terms] => manage_tamano
    			[assign_terms] => edit_posts
    		)
    
    	[rewrite] => Array
    		(
    			[with_front] => 1
    			[hierarchical] => 
    			[ep_mask] => 0
    			[slug] => tamano
    		)
    
    	[query_var] => tamano
    	[update_count_callback] => 
    	[show_in_rest] => 
    	[rest_base] => 
    	[rest_controller_class] => 
    	[_builtin] => 
    )

    But in this plugin is not showing these capabilities : manage_tamano

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    User Role Editor does not create all custom capabilities automatically. If you use some new caps you need to add them to at least the ‘administrator’ role: via code or manually.

Viewing 1 replies (of 1 total)
  • The topic ‘Capability Taxonomy’ is closed to new replies.