Snippets Collections
add_action( 'plugins_loaded', 'apple_pay_verification_file' );
function apple_pay_verification_file() {
   
    if ( $_SERVER["REQUEST_URI"] == "/.well-known/apple-developer-merchantid-domain-association.txt" ) {
      readfile( dirname( __FILE__ ) . "/apple-developer-merchantid-domain-association");
      exit();
    }
  }
star

Wed Feb 10 2021 23:12:50 GMT+0000 (UTC)

#html,signature #php

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension