Tag Info

New answers tagged

2

There is even a better solution: a filter called plugin_locale. It filters the locale argument before using it in load_plugin_textdomain. add_filter( 'plugin_locale', 'mytheme_plugin_locale' ); function mytheme_plugin_locale() { return 'en_US'; }


0

This seams to be an issue with the header('HTTP/1.1 200 OK') function call in Yoast's Wordpress SEO plugin that is not compatible with my server configuration (Nginx with some security config in front, then apache for php processing). In some way I do not fully understand, this php function call was forcing the server to send an HTTP/1.1 header with a ...


2

You can use the filter wpseo_submenu_pages for that. The plugin provides an array of all used submenupages, and lists the capability someone needs to access the certain page. The Submenupageitem wpseo_bulk-title-editor has the values (for example): [7] => Array ( [0] => wpseo_dashboard //parentmenupage [1] => Yoast WordPress ...


1

Yoast SEO uses capabilities (WordPress docs on roles and capabilities) to determine whether users are allowed to bulk edit tiles and descriptions. The name of the capability used for this is wpseo_bulk_edit. By default, Yoast SEO adds this capability to the administrator, editor, author and contributor roles. To remove this capability from all roles except ...



Top 50 recent answers are included