woocommerce_admin_shipping_partner_suggestions_specs

woocommerce_admin_shipping_partner_suggestions_specs

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.8.3

apply_filters('woocommerce_admin_shipping_partner_suggestions_specs') is found 3 times:

  • /src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php line 53
    			 * It can be used to modify shipping partner suggestions spec.
    			 *
    			 * @since 7.4.1
    			 */
    			return apply_filters( 'woocommerce_admin_shipping_partner_suggestions_specs', DefaultShippingPartners::get_all() );
    		}
    		$specs = ShippingPartnerSuggestionsDataSourcePoller::get_instance()->get_specs_from_data_sources();
    
    		// Fetch specs if they don't yet exist.
    		if ( false === $specs || ! is_array( $specs ) || 0 === count( $specs ) ) {
    			/**
    
  • /src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php line 64
    			 * It can be used to modify shipping partner suggestions spec.
    			 *
    			 * @since 7.4.1
    			 */
    			return apply_filters( 'woocommerce_admin_shipping_partner_suggestions_specs', DefaultShippingPartners::get_all() );
    		}
    
    		/**
    		 * It can be used to modify shipping partner suggestions spec.
    		 *
    		 * @since 7.4.1
    
  • /src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php line 72

    Warning: Undefined array key 74 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 75 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 76 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 77 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * It can be used to modify shipping partner suggestions spec.
    		 *
    		 * @since 7.4.1
    		 */
    		return apply_filters( 'woocommerce_admin_shipping_partner_suggestions_specs', $specs );
    	}
    }