WordPress filter hook
vp_url_validatable
Fired by 17 WordPress plugins, running on 190+ sites between them.
How to use vp_url_validatable
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'vp_url_validatable', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Amp Stories for WordPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
17 plugins that fire vp_url_validatable
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Amp Stories for WordPress30+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress/classes/wp/loader.php:167 -
Exclusive Hover effects20+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
WP Petfinder20+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )inc/vafpress-framework/classes/wp/loader.php:167 -
WP Coupon System10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Winsome Nice Scrollbar10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress/classes/wp/loader.php:167 -
Amazing Team Member Carousel10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Ultimate Product Gallery for WooCommerce10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress-framework/classes/wp/loader.php:167 -
TWI Woocommerce Grid/Slider/Carousel Lite10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )inc/classes/wp/loader.php:167 -
super portfolios and effects10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Easy Currency Converter Plugin10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Jheck Chat10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress/classes/wp/loader.php:167 -
WCBox Lite10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress-framework/classes/wp/loader.php:167 -
modal popup portfolio and hover effects10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Responsive Gallery Lightbox10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Noor Responsive Tab10+ installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Virkut Related Category PostFewer than 10 installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )framework/classes/wp/loader.php:167 -
Winsome GalleryFewer than 10 installs
apply_filters( 'vp_url_validatable', array( 'vp-textbox', 'vp-textarea' ) )vafpress/classes/wp/loader.php:167
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.