That plugin loads its language the moment its main file is included:
load_plugin_textdomain( 'wordpress-seo', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
So when your locale
filter is used, the language is already there. :/
Move your small plugin into the mu-plugins
directory. You can create it if it doesn’t exists in wp-content
. That should load your plugin earlier than Yoast’s.
Lesson: Never load your language files before wp_loaded
.
Related Posts:
- How to Layer 7 Load Balance WordPress Backend and Frontend?
- Is there any filter to disable the total fronted in WordPress
- WordPress Error establishing a database connection For Admin login only
- Why are my frontend theme styles bleeding into the backend?
- How to make the front-end RTL without changing the admin panel language?
- Admin menu in front-end
- is_admin() conditional statement
- plugin: ‘init’ hook, check if we’re not in admin
- Redirect users based on their roles, is_admin()
- Can I rename the wp-admin folder?
- How to restrict dashboard access to Admins only?
- How to disable the “Post Lock/Edit Lock”?
- How can I control the position in the admin menu of items added by plugins?
- How to remove screen options and help links in the admin area?
- I’m getting a 404 message when I try to access wpadmin
- wordpress wp-admin css not loading
- Localization: I want the backend: english and frontend in defined language
- Check if user is admin by user ID
- Unable to login to my wordpress site. reauth=1 redirection loop
- Highlight custom widgets in the admin area?
- How do I find all admin users using phpmyadmin?
- wp-admin produces a 302 redirect to itself
- create users to site with specific language
- Hide a page in the admin end without a plugin?
- Prevent from deleting any user role but subscriber
- Restrict access to admin but allow admin_post hook
- How to set custom editor style when editing the homepage?
- How to disable or hide “collapse menu”
- Login to wp-admin “redirect_to” points to wrong URL after migration
- TinyMCE Autoresize
- WordPress wp-admin suddenly lost its style
- Prevent Admin gui output from page added using add_submenu_page
- Create Read Only Admin
- wp-admin blank in a clean install of WordPress on PHP 5.4 [closed]
- After changing Site url to https, can’t access login page
- Add custom content in user-edit.php page
- Custom role based users are not able to access wp-admin
- How can I add ‘view mode’ to screen options for pages and cpts?
- Using List Table Filters for ALL Custom Post Types
- In the WordPress admin, how can I find out which page (themes.php, widgets.php, etc.) I’m on?
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- My wp-admin stops working suddenly
- How to debug “You do not have sufficient permissions to access this page”? [closed]
- What is the practical difference between is_admin() and is_blog_admin()?
- How do I set the homepage to the WordPress Admin Dashboard login?
- How to check if upload window came from the featured image link?
- Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well
- Reusable content block
- Wrong wp-admin URL
- What is wrong with this code to remove wp admin bar from one page
- Stopping user deletion from running on error
- Admin search not working for any type of post
- Can’t log into wp-admin after migration from localhost to server
- Adding Custom Capabilites
- Display checked in checkbox theme admin page when reloaded
- Why is unfiltered_upload not working despite being enabled?
- List All Enqueued Scripts and Styles
- Can I add my own profile.php?
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- ASCII to Unicode conversion and then save the data into database using WP post editor field
- 100+ terms in any taxonomy slows down post updates?
- Is WordPress Suitable for my site?
- Disable or lock parent pages from being edited in wordpress admin
- How login is possible, if I deny login page via .htaccess with allow ip
- Unable to display WordPress admin bar in the frontend as an admin
- Nickname field isn’t appearing in Admin
- How to Find The Email of a WP Admin Account
- how can I change the font on Edit Post area (admin dashboard)
- External HTTP API calls slowing down WordPress admin [closed]
- how can provide access to wp_admin page for non wp_users?
- Why is my ‘export’ option missing?
- jQuery UI Datepicker error
- Can’t connect to WP-Admin, blank error message
- WordPress /wp-admin redirect to wrong port in docker
- Regular users logs in as ADMIN if Admin logged in recently
- Enable Excerpt field inside the post editor for pages
- How do I fix the 403 error for wp-admin/admin-ajax.php?
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- Strange Popup Ad on my WordPress Admin Dashboard
- HELP! Frontend User Profile Edit Won’t Update Email
- WordPress switch domains
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- Unable to Add User after Site Migration
- OSX El Capitan local install Maximum upload file size: 2 MB But php.ini set to 64M
- Get Post ID in Admin Edit screen otherwise generate it?
- Cannot login in WordPress even after changing hash password in phpmyadmin
- WordPress User profile page fields missing
- Wp mwnu not works at all
- Can’t log into WordPress after domain change
- Trying to use and understand JSON API and get_posts
- Custom Admin Message from external source to multiple users
- How can visitors redirect wp-admin to the homepage?
- Creating your own options-general.php page
- I want to know if it’s good for SEO [closed]
- My website’s wp-admin redirects to another website’s wp-admin after pointing the site url to a subdirectiory
- Help please i cant login to wordpress panel [closed]
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- How can you change the admin dashboard URL without symlinking?
- Degraded WordPress admin dashboard performance [closed]
- WordPress Localhost migration issue