acf_get_bidirectional_field_settings_instruction_text()
Returns the translated instructional text for the message field for the bidirectional field settings.
No Hooks.
Returns
String. The html containing the instructional message.
Usage
acf_get_bidirectional_field_settings_instruction_text();
Changelog
| Since 6.2 | Introduced. |
acf_get_bidirectional_field_settings_instruction_text() acf get bidirectional field settings instruction text code ACF 6.8.8
function acf_get_bidirectional_field_settings_instruction_text() {
/* translators: %s the URL to ACF's bidirectional relationship documentation */
$message = '<p class="acf-feature-notice with-warning-icon">' . sprintf( __( 'Enabling the bidirectional setting allows you to update a value in the target fields for each value selected for this field, adding or removing the Post ID, Taxonomy ID or User ID of the item being updated. For more information, please read the <a href="%s" target="_blank">documentation</a>.', 'acf' ), acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/bidirectional-relationships/', 'docs', 'bidirectional' ) ) . '</p>';
return $message;
}