Search results

Reply To: rank math fields for product not working

WPSOLR provides a hook to deactivate itself in admin search: add_action( WPSOLR_Events::WPSOLR_FILTER_IS_REPLACE_ADMIN_POST_TYPE_BY_WPSOLR_QUERY, [ $this, 'wpsolr_filter_is_replace_admin_post_type_by_wpsolr_query', ], 99, 1 ); public function wpsolr_filter_is_replace_admin_post_type_by_wpsolr_query( $is_replace_by_wpsolr_query ) { $result = $is_replace_by_wpsolr_query && !( condition here on your url parameters or anything you want); return $result; }

Reply To: rank math fields for product not working

You can inspire from wpsolr-pro/wpsolr/core/classes/extensions/premium/class-wpsolr-option-premium.php to eventually filter your own admin fields: add_action( WPSOLR_Events::WPSOLR_ACTION_SOLARIUM_QUERY, [$this,’wpsolr_action_query’,], 10, 1 ); public function wpsolr_action_query( $parameters ) { … }