Skip to content

Commit

Permalink
Generate stubs for ACF PRO 5.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed May 28, 2022
1 parent 706fb28 commit d373815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acf-pro-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class ACF
{
/** @var string The plugin version number. */
var $version = '5.12';
var $version = '5.12.1';
/** @var array The plugin settings array. */
var $settings = array();
/** @var array The plugin data array. */
Expand Down Expand Up @@ -10095,7 +10095,7 @@ public function initialize($response, $handler, $request)
/**
* Register our custom property as a REST field.
*/
private function register_field()
public function register_field()
{
}
/**
Expand Down Expand Up @@ -15264,7 +15264,7 @@ function acf_get_object_type_rest_base($type_object)
* Extract the ID of a given object/array. This supports all expected types handled by our update_fields() and
* load_fields() callbacks.
*
* @param WP_Post|WP_User|WP_Term|array $object
* @param WP_Post|WP_User|WP_Term|WP_Comment|array $object
* @return int|mixed|null
*/
function acf_get_object_id($object)
Expand Down

0 comments on commit d373815

Please sign in to comment.