Hot answers tagged

3

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

https://downloads.wordpress.org/plugin/{plugin-name}.latest-stable.zip The structure should be the same for all WordPress.org plugins and the link you're looking for is https://downloads.wordpress.org/plugin/backupwordpress.latest-stable.zip. You can see an example here on how this might be used.


2

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 = $( ...


1

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.


1

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