📜  woocommerce_continue_shopping_redirect - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:40.393000             🧑  作者: Mango

代码示例1
// define the woocommerce_continue_shopping_redirect callback 
    function filter_woocommerce_continue_shopping_redirect( $var ) { 
        // make filter magic happen here... 
        return $var; 
    }; 
             
    // add the filter 
    add_filter( 'woocommerce_continue_shopping_redirect', 'filter_woocommerce_continue_shopping_redirect', 10, 1 );