Hot answers tagged


From what you are saying you have translated your plugin and now you want to be sure the future update won' be overwritten. So to avoid that happening you can always put your po/mo translation files (if provided) in global languages folder that is located on your server in wp-content/languages/plugins folder. If plugin have language file name for example ...

2{plugin-name} The structure should be the same for all plugins and the link you're looking for is You can see an example here on how this might be used.


Here's an idea for a starting point, by looking how the word counting is done in the /wp-admin/js/post.js file: /** * Testing word price calculations */ add_action( 'after_wp_tiny_mce', function() { ?><script> ( function( $ ) { $( function() { // Init var $content = $( '#content' ), $count = $( ...


There is no such granular control. The only possible way around it is to use shortcodes that insert content from other "posts" and restrict the access to those posts.


Sounds like what you are really after is wp-cli which will let you write shell script that automate such tasks.

Only top voted, non community-wiki answers of a minimum length are eligible