WordPress filter hook
puc_get_vcs_service
Fired by 13 WordPress plugins, running on 7,890+ sites between them.
How to use puc_get_vcs_service
It's a filter: your callback receives the value and 3 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'puc_get_vcs_service', function( $service, $host, $path, $metadataUrl ) {
// Change $service here.
return $service;
}, 10, 4 );Argument names come from If-So Dynamic Content's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
13 plugins that fire puc_get_vcs_service
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
If-So Dynamic Content7,000+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )extensions/extension-base/lib/plugin-update-checker/Puc/v5p6/PucFactory.php:276 -
Events Manager600+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )stonehenge/server/Puc/v4p6/Factory.php:211 -
Events Manager100+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )stonehenge/server/Puc/v4p6/Factory.php:211 -
Events Manager90+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )stonehenge/server/Puc/v4p6/Factory.php:211 -
Events Manager50+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )stonehenge/server/Puc/v4p6/Factory.php:211 -
Tap To Donate for Give by Jovvie10+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )plugin-update-checker/Puc/v4p10/Factory.php:270 -
SCM10+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )plugin-update-checker/Puc/v4p6/Factory.php:211 -
WP Roster10+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )inc/pro-wpr/plugin-update-checker/Puc/v4p11/Factory.php:279 -
FireEMS Stats10+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )update-check/Puc/v4p10/Factory.php:270 -
SCD10+ installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )plugin-update-checker/Puc/v4p6/Factory.php:211 -
GeniousSonu Site CheckupFewer than 10 installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )includes/plugin-update-checker/Puc/v5p7/PucFactory.php:276 -
SCMFewer than 10 installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )plugin-update-checker/Puc/v4p6/Factory.php:211 -
SCDFewer than 10 installs
apply_filters( 'puc_get_vcs_service', $service, $host, $path, $metadataUrl )plugin-update-checker/Puc/v4p6/Factory.php:211
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.