woocommerce_get_script_data

woocommerce_get_script_data

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_script_data') is found 1 times:

  • /includes/class-wc-frontend-scripts.php line 646
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
        }
     
        $params = apply_filters_deprecated( $handle . '_params', array( $params ), '3.0.0', 'woocommerce_get_script_data' );
     
        return apply_filters( 'woocommerce_get_script_data', $params, $handle );
    }
     
    /**
     * Localize scripts only when enqueued.
     */
    public static function localize_printed_scripts() {