Simple ReOrdering WP Plugins


/ Published in: PHP
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. add_action( 'hook_name', 'callback_name', 100 );
  2.  
  3. OR
  4.  
  5. add_filter( 'hook_name', 'callback_name', 100 );

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.