WordPress filter hook
acf/fields/relationship/result
Fired by 44 WordPress plugins, running on 2.1M+ sites between them.
How to use acf/fields/relationship/result
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( 'acf/fields/relationship/result', function( $title, $post, $field, $post_id ) {
// Change $title here.
return $title;
}, 10, 4 );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.
44 plugins that fire acf/fields/relationship/result
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/fields/relationship/result', $title, $post, $field, $post_id )includes/fields/class-acf-field-relationship.php:388 -
Secure Custom Fields100,000+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/fields/class-acf-field-relationship.php:381 -
ACF Frontend Admin by DynamiApps8,000+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )main/frontend/fields/general/class-related-items.php:584 -
Mapster WP Maps3,000+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:376 -
Buckets400+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )fields/acf-buckets-v5.php:369 -
WPScreens300+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
MapifyLite (by MapifyPro)200+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )lib/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:340 -
WP Related Posts and Products (WRI)100+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )advanced-custom-fields/includes/fields/class-acf-field-relationship.php:372 -
Flexblocks80+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )inc/acf/includes/fields/class-acf-field-relationship.php:352 -
Dooodl50+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )includes/libs/advanced-custom-fields/core/fields/relationship.php:328 -
OneDS Start Package40+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:340 -
Social Influencer Links30+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )lib/acf/includes/fields/class-acf-field-relationship.php:372 -
Tuxedo Importer20+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:352 -
Accessibility Statement20+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:352 -
Fancy Grid Portfolio20+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )lib/advanced-custom-fields/core/fields/relationship.php:173 -
Simple Content Adder20+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )lib/advanced-custom-fields/core/fields/relationship.php:181 -
TSA Commerce20+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )vendors/acf/core/fields/relationship.php:181 -
FloristPress for Woo10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )lib/acf/includes/fields/class-acf-field-relationship.php:339 -
Rexpansive Builder10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )admin/lib/acf/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:352 -
Schedule Tweets10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )assets/plugins/acf/includes/fields/class-acf-field-relationship.php:352 -
LogicalDOC WordPress Explorer10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )advanced-custom-fields/core/fields/relationship.php:181 -
Megabits Control Gastos10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:352 -
WoWpi Guild10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
Proshots For WooCommerce10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
Important Dates Dashboard Widget10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:352 -
Coronavirus (COVID-19) Live Update Popup10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
Simply Documents10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )lib/advanced-custom-fields/core/fields/relationship.php:181 -
Realty Pack Core10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )app/acf/includes/fields/class-acf-field-relationship.php:372 -
Mufasa 🦁 Slider10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
Church Options10+ installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )lib/advanced-custom-fields/core/fields/relationship.php:181 -
Simple KMDG Resource CenterFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:372 -
Flaunt Your ClientsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )includes/advanced-custom-fields/core/fields/relationship.php:327 -
Admin Notes WPFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:372 -
Contact Form 7 AnalyticsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )acf/fields/relationship.php:367 -
Ninety in NinetyFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )inc/acf/includes/fields/class-acf-field-relationship.php:372 -
Admin User ControlFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372 -
Work Time AllocatorFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )lib/advanced-custom-fields/includes/fields/class-acf-field-relationship.php:372 -
House AdsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )lib/acf/includes/fields/class-acf-field-relationship.php:372 -
NavThemes Gutenberg BlocksFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )admin/includes/fields/class-acf-field-relationship.php:372 -
NavThemes Employee RatingsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )admin/includes/fields/class-acf-field-relationship.php:372 -
Quick RecommendFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )lib/advanced-custom-fields/core/fields/relationship.php:181 -
ASD Feature MapsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $the_post )includes/advanced-custom-fields/core/fields/relationship.php:181 -
Dashboard Feeds Dashboard WidgetFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:352 -
Repeat EventsFewer than 10 installs
apply_filters( 'acf/fields/relationship/result', $title, $post, $field, $post_id )includes/acf/includes/fields/class-acf-field-relationship.php:372
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.