provide a simple way for the end user to select the image size when inserting an image into the editor via the media upload window
Use this code to set the default content for new posts.
this code add useful buttons to the default editor
remove_shortcode('plugin_shortcode'); add_shortcode('plugin_shortcode','myfunc'); function myfunc($atts){ $plugin_return=plugin_func($atts); return str_replace('str1','str2',$plugin_return); } remove_shortcode('plugin_shortcode'); add_shortcode('plugin_shortcode','myfunc'); function myfunc($atts){ $plugin_return=plugin_func($atts); return str_replace('str1','str2',$plugin_return); }
Improve performance of ajax instead of loading all of WordPress needed files load just the ones you need