Is the bulk_action hook stable for use in 3.2.X?
Long story short the answer is NO There is no function currently available to add bulk_actions only remove them
Long story short the answer is NO There is no function currently available to add bulk_actions only remove them
// PHP 5.3 syntax – anonymous functions (Closures) add_action(‘wp_dashboard_setup’, function(){ if(current_user_can(‘activate_plugins’)){ // Administrator wp_add_dashboard_widget(‘dbwidget-Administrator’, ‘#Administrator’, function(){ // Print widget here }); }elseif(current_user_can(‘delete_others_posts’)){ // Editor wp_add_dashboard_widget(‘dbwidget-Editor’, ‘#Editor’, function(){ // Print widget here }); }elseif(current_user_can(‘delete_published_posts’)){ // Author wp_add_dashboard_widget(‘dbwidget-Author’, ‘#Author’, function(){ // Print widget here }); }elseif(current_user_can(‘edit_posts’)){ // Contributor wp_add_dashboard_widget(‘dbwidget-Contributor’, ‘#Contributor’, function(){ // Print widget here }); }elseif(current_user_can(‘read’)){ … Read more
There are no filters for the plugin’s output and this plugin wasn’t built as a class (where you could technically extend the class and override the parent methods). If you’re wanting to change the front-end elements only, you can use jQuery to do your bidding. If you need to add additional processing on the backend, … Read more
Spam prevention should be done on the email’s servers side, by that I mean you should not disrupt your usability because of spam, instead you should use a proper spam block or filtering service on your email side. For example I have been using Postini for years and have pretty much no spam to contend … Read more
Since actual output seems to be done via echoing global variable nothing prevents you to change that variable to something else (between the points where theme creates and echoes it). Like a result of advertisement manager function call. However I think it would make more sense to stick with one of two functionalities rather than … Read more
There are some projects around with such functionality: Carrington Build Platform Pro Headway and more… But in general such functionality is on built-in or deep-integration-required level. It is simply too complex to be a generic plugin.
Widgets are class based, so it is quite easy to extend them. Create your class by extending WP_Widget_Pages (just like it extends baseline Widget). Copy method(s) you want to modify into your class and make changes in there. You would probably want to extend and modify name and such so it is not confused/conflicted with … Read more
This is normal, minification of CSS/HTML and JS is not a magic button. If you have no plugins and 1 style-sheet and minimal javascript (aka not more than 1 function) it will work, but anything above that and your looking at conflict and load order problems. To properly minify takes work, you have to either … Read more
First ask yourself if this is really necessary. Use wp-content/uploads Use the Filesystem API
Yes, you can safely deactivate the old wordpress.com stats Plugin. Once you verify that your historical data have been retained, you can safely delete the Plugin.