WordPress filter hook
acf/load_value
Fired by 45 WordPress plugins, running on 2.1M+ sites between them.
“Filters the $value after it has been loaded.”
How to use acf/load_value
It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'acf/load_value', function( $value, $post_id, $field ) {
// Change $value here.
return $value;
}, 10, 3 );Argument names come from Advanced Custom Fields (ACF®)'s source. Other plugins may pass different values: check the call in the plugin you're targeting below.
45 plugins that fire acf/load_value
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Advanced Custom Fields (ACF®)2+ million installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf-value-functions.php:146 -
Secure Custom Fields100,000+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf-value-functions.php:137 -
ACF Frontend Admin by DynamiApps8,000+ installs
apply_filters( 'acf/load_value', $value, $object_id, $field )main/frontend/forms/classes/display.php:1041 -
Mapster WP Maps3,000+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:146 -
WPScreens300+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:87 -
MapifyLite (by MapifyPro)200+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )lib/advanced-custom-fields/includes/acf-value-functions.php:118 -
WP Related Posts and Products (WRI)100+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )advanced-custom-fields/includes/acf-value-functions.php:89 -
Flexblocks80+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )inc/acf/includes/acf-value-functions.php:118 -
Dooodl50+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )includes/libs/advanced-custom-fields/acf.php:786 -
OneDS Start Package40+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:118 -
Social Influencer Links30+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )lib/acf/includes/acf-value-functions.php:89 -
Tuxedo Importer20+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:118 -
Accessibility Statement20+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:99 -
Fancy Grid Portfolio20+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )lib/advanced-custom-fields/acf.php:770 -
Simple Content Adder20+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )lib/advanced-custom-fields/acf.php:802 -
TSA Commerce20+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )vendors/acf/acf.php:810 -
Rexpansive Builder10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )admin/lib/acf/advanced-custom-fields/includes/acf-value-functions.php:118 -
FloristPress for Woo10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )lib/acf/includes/acf-value-functions.php:137 -
Megabits Control Gastos10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:118 -
WoWpi Guild10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:89 -
Proshots For WooCommerce10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:89 -
Important Dates Dashboard Widget10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:99 -
Coronavirus (COVID-19) Live Update Popup10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:89 -
Realty Pack Core10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )app/acf/includes/acf-value-functions.php:92 -
Mufasa 🦁 Slider10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:87 -
LogicalDOC WordPress Explorer10+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )advanced-custom-fields/acf.php:799 -
Simply Documents10+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )lib/advanced-custom-fields/acf.php:830 -
Church Options10+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )lib/advanced-custom-fields/acf.php:830 -
Google Merchant Product Feed10+ installs
apply_filters( 'acf/load_value', false, $post_id, $field )test.php:776 -
Schedule Tweets10+ installs
apply_filters( 'acf/load_value', $value, $post_id, $field )assets/plugins/acf/includes/api/api-value.php:304 -
Limit Revision Publishing10+ installs
apply_filters( 'acf/load_value', $value, $pending_revision_id, $field )lib/class-lrp-edit-form-controller.php:167 -
Simple KMDG Resource CenterFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/advanced-custom-fields/includes/acf-value-functions.php:87 -
Admin Notes WPFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/advanced-custom-fields/includes/acf-value-functions.php:87 -
Ninety in NinetyFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )inc/acf/includes/acf-value-functions.php:89 -
Admin User ControlFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:89 -
Work Time AllocatorFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )lib/advanced-custom-fields/includes/acf-value-functions.php:89 -
Dashboard Feeds Dashboard WidgetFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:99 -
Repeat EventsFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )includes/acf/includes/acf-value-functions.php:89 -
Quick RecommendFewer than 10 installs
apply_filters( 'acf/load_value', false, $post_id, $field )lib/advanced-custom-fields/acf.php:830 -
ASD Feature MapsFewer than 10 installs
apply_filters( 'acf/load_value', false, $post_id, $field )includes/advanced-custom-fields/acf.php:810 -
Flaunt Your ClientsFewer than 10 installs
apply_filters( 'acf/load_value', false, $post_id, $field )includes/advanced-custom-fields/acf.php:765 -
Contact Form 7 AnalyticsFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )acf/api/api-value.php:262 -
House AdsFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )lib/acf/includes/api/api-value.php:316 -
NavThemes Gutenberg BlocksFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )admin/includes/api/api-value.php:316 -
NavThemes Employee RatingsFewer than 10 installs
apply_filters( 'acf/load_value', $value, $post_id, $field )admin/includes/api/api-value.php:316
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.