Title: Change plugin priority
Last modified: August 27, 2020

---

# Change plugin priority

 *  Resolved [vothrax](https://wordpress.org/support/users/vothrax/)
 * (@vothrax)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/change-plugin-priority/)
 * Hi, congratulations on your great plugin. I’ve already given you 5 stars. 🙂
 * The only trouble I’ve found is that reviews are shown below my share buttons 
   and related posts plugins and I want them to be shown above them.
 * I’ve moved the share buttons plugin using this php code:
 *     ```
       function addtoany_before_my_related_posts( $query ) {
           remove_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 98 );
   
           if ( $query->is_main_query() && is_singular() ) {
               add_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 5 );
           }
       }
       add_action( 'pre_get_posts', 'addtoany_before_my_related_posts' );
       ```
   
 * But I don’t know any PHP so I don’t know how to set a lower priority for your
   plugin.
 * Thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchange-plugin-priority%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [vothrax](https://wordpress.org/support/users/vothrax/)
 * (@vothrax)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/change-plugin-priority/#post-13325676)
 * Nevermind. I found how to edit the plugin $priority and fixed it.

Viewing 1 replies (of 1 total)

The topic ‘Change plugin priority’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-product-review_7b97d5.svg)
 * [WP Product Review Lite](https://wordpress.org/plugins/wp-product-review/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-product-review/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-product-review/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-product-review/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-product-review/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-product-review/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [vothrax](https://wordpress.org/support/users/vothrax/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/change-plugin-priority/#post-13325676)
 * Status: resolved