WordPress filter hook
iworks_rate_set_custom_time
Fired by 14 WordPress plugins, running on 85K+ sites between them.
“change time by filter”
How to use iworks_rate_set_custom_time
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( 'iworks_rate_set_custom_time', function( $time ) {
// Change $time here.
return $time;
}, 10, 1 );Argument names come from Orphans's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
14 plugins that fire iworks_rate_set_custom_time
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Orphans50,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
OG — Better Share on Social Media20,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Omnibus10,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
PWA1,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Simple Revision Control1,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
upPrev1,000+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Reading Position Indicator800+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
WP Sitemap Control400+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Simple Consent Mode400+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Simple SEO Improvements300+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Fleet Manager10+ installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Build a HouseFewer than 10 installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
iWorks Aquarium Tracker: Water Parameters, Reminders & NotesFewer than 10 installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514 -
Simple Password PolicyFewer than 10 installs
apply_filters( 'iworks_rate_set_custom_time', time() )includes/iworks/rate/rate.php:514
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.