Skip to content

Commit

Permalink
Generate stubs for ACF PRO 6.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
juhojama committed Nov 6, 2024
1 parent da3c4d5 commit 87fce86
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion acf-pro-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ACF
*
* @var string
*/
public $version = '6.3.7';
public $version = '6.3.8';
/**
* The plugin settings array.
*
Expand Down Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit 87fce86

Please sign in to comment.