ACF_Admin::admin_footer_version_text
Modifies the admin footer version text.
Method of the class: ACF_Admin{}
No Hooks.
Returns
string.
Usage
$ACF_Admin = new ACF_Admin(); $ACF_Admin->admin_footer_version_text( $text );
- $text(string) (required)
- The current admin footer version text.
Changelog
| Since 6.2 | Introduced. |
ACF_Admin::admin_footer_version_text() ACF Admin::admin footer version text code ACF 6.8.8
public function admin_footer_version_text( $text ) {
$documentation_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/resources/', 'footer', 'footer' );
$support_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/support/', 'footer', 'footer' );
$feedback_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/feedback/', 'footer', 'footer' );
$version_link = acf_add_url_utm_tags( 'https://www.advancedcustomfields.com/changelog/', 'footer', 'footer' );
return sprintf(
'<a href="%s" target="_blank">%s</a> ∙ <a href="%s" target="_blank">%s</a> ∙ <a href="%s" target="_blank">%s</a> ∙ <a href="%s" target="_blank">%s %s</a>',
$documentation_link,
__( 'Documentation', 'acf' ),
$support_link,
__( 'Support', 'acf' ),
$feedback_link,
__( 'Feedback', 'acf' ),
$version_link,
acf_is_pro() ? __( 'ACF PRO', 'acf' ) : __( 'ACF', 'acf' ),
ACF_VERSION
);
}