From 87fce868574b181a16f340791a5a8e7e840746a9 Mon Sep 17 00:00:00 2001 From: Juho Jama Date: Wed, 6 Nov 2024 14:26:19 +0200 Subject: [PATCH] Generate stubs for ACF PRO 6.3.8 --- acf-pro-stubs.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/acf-pro-stubs.php b/acf-pro-stubs.php index 53de6f0..7d7cffa 100644 --- a/acf-pro-stubs.php +++ b/acf-pro-stubs.php @@ -17,7 +17,7 @@ class ACF * * @var string */ - public $version = '6.3.7'; + public $version = '6.3.8'; /** * The plugin settings array. * @@ -11929,6 +11929,17 @@ public function ajax_validate_values() public function get_post_type_args($post, $escape_labels = \true) { } + /** + * Ensure the metabox being called does not perform any unsafe operations. + * + * @since 6.3.8 + * + * @param WP_Post $post The post being rendered. + * @return mixed The callback result. + */ + public function build_safe_context_for_metabox_cb($post) + { + } /** * Returns a string that can be used to create a post type in PHP. * @@ -12075,6 +12086,18 @@ public function ajax_validate_values() public function get_taxonomy_args($post, $escape_labels = \true) { } + /** + * Ensure the metabox being called does not perform any unsafe operations. + * + * @since 6.3.8 + * + * @param WP_Post $post The post being rendered. + * @param array $tax The provided taxonomy information required for callback render. + * @return mixed The callback result. + */ + public function build_safe_context_for_metabox_cb($post, $tax) + { + } /** * Returns a string that can be used to create a taxonomy in PHP. *