Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('after_setup_theme', function () {
- if (!function_exists('glsr')) {
- return;
- }
- $fn = glsr('Compatibility')->findCallback(
- 'woocommerce_single_product_summary',
- 'renderTitleRating',
- '\GeminiLabs\SiteReviews\Integrations\WooCommerce\Controllers\ProductController'
- );
- if (!empty($fn['function'])) {
- $priority = 15; // change this as needed
- remove_action('woocommerce_single_product_summary', $fn['function']);
- add_action('woocommerce_single_product_summary', $fn['function'], $priority);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement