Posted By

mrgurner on 04/12/11


Tagged

php wordpress array plugins


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vrob


Simple ReOrdering WP Plugins


 / Published in: PHP
 

URL: http://wordpress.org/support/topic/how-to-change-plugins-load-order#post-1564605

3rd argument of 'add_action' function is priority, by default set to 10. This is a much simpler way of reorder posts exactly as you want them to appear.

  1. add_action( 'hook_name', 'callback_name', 100 );
  2.  
  3. OR
  4.  
  5. add_filter( 'hook_name', 'callback_name', 100 );

Report this snippet  

You need to login to post a comment.