Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to send a URL for a signature from one site to another, to copy signatures to somewhere else using an API action. It requires adding the source site as an allowlist target.
Usage
add_filter('frm_signature_allowlist_domains', 'add_approved_src_domain');
Parameters
- $whitelisted_domains (array)
Examples
Add approved source domain
add_filter('frm_signature_allowlist_domains', 'add_approved_src_domain');
function add_approved_src_domain($whitelisted_domains){
$whitelisted_domains[] = 'cdn.formidableformscom.bigscoots-staging.com';
return $whitelisted_domains;
}