How to make a customize role and view a specific plugins base on that role?

You can a custom admin page with add_menu_page function. The function has a argument $capability which you can set the which users will be able to view and access the page add_menu_page https://developer.wordpress.org/reference/functions/add_menu_page/ Roles and capabilities https://wordpress.org/support/article/roles-and-capabilities/

Custom plugin: Loop through taxonomy types and update columns for all types?

The only things I see different in your code are the add_filter() and add_action() calls (e.g. the callback/function name), so you can use the same functions for all of the types: function update_dog_type_columns( $columns ) { // your code return $columns; } function update_dog_type_column( $column, $post_id ) { // your code } And then you … Read more

Buddypress function and global $bp question

Plugins load alphabetically by default. If Buddypress is alphbetically before your plugins folder name, then Buddypress will load first and it’s functions will be available. Additionally, whatever functionality depends on another plugins you can always attach to the plugins_loaded hook, which fires after all plugins are finished loading. For example: /** * Runs code after … Read more

Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu

For anyone having the same trouble, I am now using a workaround from the accepted answer on the following question: https://wordpress.stackexchange.com/a/30723/181214 I am using the solution beyond the “EDIT: Another Option” which is working fine for slugs, names, singular names etc. function get_labels() { // return a default slug if(!defined(‘WPLANG’) || !WPLANG || ‘de_DE’ == … Read more