function acf_load_field_message($field ) { $screen = get_current_screen(); if ($screen->post_type !== "acf-field-group") { $field['message'] = do_shortcode($field['message']); } return $field; } add_filter('acf/load_field/type=message', 'acf_load_field_message', 10, 3);Related Keywords: Developer, How-to, Solved, WordPress Allow Shortcodes in Advanced Custom Fields Messages, Do Shortcode, WordPress Plugin
喜歡這篇文章嗎?





(暫時未有評分)
Loading...





(暫時未有評分)
