How can I translate the name of my Plugin for other languages?

After searching a little bit more, I found that in the generation of the .pot file, the strings of plugin header already appear there. The tool I used to generate .pot file for my plugin was this command of wp-cli: https://developer.wordpress.org/cli/commands/i18n/make-pot/ I don’t know if another tools to make plugin translation do that. The reason … Read more

Add new password rule to Ultimate Member register form

You have to do various things. But you can change the hook the Ultimate Member uses. They Use the Validation class. But keeping your need in mind, you can bypass the use of this class. This is the solution I think will work remove_action( ‘um_submit_form_register’, ‘um_submit_form_register’, 10 ); Now we will register new method. add_action( … Read more

How can I add a custom header to a custom template in a plugin without using the theme folders

The get_header() functions is designed for themes. It usually look for header file in child theme first and then parent theme. You should be creating custom header under theme directory instead of in a plugin. But if you really must have to load header file from plugin then you have to create a custom function. … Read more