Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_footer', function (){
- // Яндекс.Касса
- if( isset( $_GET['customerNumber'] ) ){
- $order_id = $_GET['customerNumber'];
- }
- // Тинькофф
- if( isset( $_GET['OrderId'] ) ){
- $order_id = $_GET['OrderId'];
- }
- // Проверка и отображение кода отзывов Google
- if( is_page( 908 ) && function_exists('ecr_gcr_scripts') && ! empty( $order_id ) ){
- ecr_gcr_scripts( $order_id );
- }
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement