Created
February 15, 2021 06:38
-
-
Save mono96/80f9d630dadd1c45103b5ebaa4b8556f to your computer and use it in GitHub Desktop.
jp4wc_tracking_urlフック
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_carrier_tracking_data(){ | |
$my_carrier_tracking_url_data = array( | |
'hoge' => array( | |
'title' => __( 'hoge', 'jp4wc-pro' ), | |
'url' => 'https://example.com/hoge/', | |
), | |
'hogehoge' => array( | |
'title' => __( 'hogehoge', 'jp4wc-pro' ), | |
'url' => 'https://example.com/hoge/', | |
), | |
); | |
return $my_carrier_tracking_url_data; | |
} | |
add_filter( 'jp4wc_tracking_url', 'my_carrier_tracking_data'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment