woocommerce_product_has_options

woocommerce_product_has_options

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_product_has_options') is found 2 times:

  • /includes/abstracts/abstract-wc-product.php line 1857
    	 * @since  3.0.0
    	 * @return boolean
    	 */
    	public function has_options() {
    		return apply_filters( 'woocommerce_product_has_options', false, $this );
    	}
    
    	/*
    	|--------------------------------------------------------------------------
    	| Non-CRUD Getters
    	|--------------------------------------------------------------------------
    
  • /includes/class-wc-product-variable.php line 593
    	 * @since  3.0.0
    	 * @return boolean
    	 */
    	public function has_options() {
    		return apply_filters( 'woocommerce_product_has_options', true, $this );
    	}
    
    
    	/*
    	|--------------------------------------------------------------------------
    	| Sync with child variations.