Skip to content

Commit 0d14ca6

Browse files
committed
Generate stubs for ACF PRO 6.1.2
1 parent 8d159d8 commit 0d14ca6

File tree

1 file changed

+19
-41
lines changed

1 file changed

+19
-41
lines changed

acf-pro-stubs.php

Lines changed: 19 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ACF
1616
*
1717
* @var string
1818
*/
19-
public $version = '6.1.1';
19+
public $version = '6.1.2';
2020
/**
2121
* The plugin settings array.
2222
*
@@ -79,16 +79,6 @@ public function init()
7979
public function register_post_types()
8080
{
8181
}
82-
/**
83-
* Loads and instantiates the enabled additional custom post types.
84-
*
85-
* @since 6.1
86-
*
87-
* @return void
88-
*/
89-
public function init_post_types()
90-
{
91-
}
9282
/**
9383
* Registers the ACF post statuses.
9484
*
@@ -2046,7 +2036,7 @@ class ACF_Admin_Post_Types extends \ACF_Admin_Internal_Post_Type_List
20462036
*/
20472037
public $store = 'post-types';
20482038
/**
2049-
* Constructor for the post types list admin page.
2039+
* Current screen actions for the post types list admin page.
20502040
*
20512041
* @since 6.1
20522042
*
@@ -2171,7 +2161,7 @@ class ACF_Admin_Taxonomies extends \ACF_Admin_Internal_Post_Type_List
21712161
*/
21722162
public $store = 'taxonomies';
21732163
/**
2174-
* Constructor for the taxonomies list admin page.
2164+
* Current screen actions for the taxonomies list admin page.
21752165
*
21762166
* @since 6.1
21772167
*
@@ -3498,14 +3488,6 @@ abstract class ACF_Internal_Post_Type
34983488
public function __construct()
34993489
{
35003490
}
3501-
/**
3502-
* Register post type to WordPress if required for this post type
3503-
*
3504-
* @since 6.1
3505-
*/
3506-
public function register_post_type()
3507-
{
3508-
}
35093491
/**
35103492
* Get an ACF CPT object as an array.
35113493
*
@@ -11799,14 +11781,6 @@ public function __construct()
1179911781
public function get_settings_array()
1180011782
{
1180111783
}
11802-
/**
11803-
* Register the field-group custom post type with WordPress
11804-
*
11805-
* @since 6.1
11806-
*/
11807-
public function register_post_type()
11808-
{
11809-
}
1181011784
/**
1181111785
* Get an ACF CPT object as an array.
1181211786
*
@@ -11981,6 +11955,14 @@ class ACF_Post_Type extends \ACF_Internal_Post_Type
1198111955
public function __construct()
1198211956
{
1198311957
}
11958+
/**
11959+
* Registers the acf-post-type custom post type with WordPress.
11960+
*
11961+
* @since 6.1
11962+
*/
11963+
public function register_post_type()
11964+
{
11965+
}
1198411966
/**
1198511967
* Register activated post types with WordPress
1198611968
*
@@ -12034,12 +12016,6 @@ public function ajax_validate_values()
1203412016
public function get_post_type_args($post)
1203512017
{
1203612018
}
12037-
/**
12038-
* Register the CPT required for ACF post types.
12039-
*/
12040-
public function register_post_type()
12041-
{
12042-
}
1204312019
/**
1204412020
* Returns a string that can be used to create a post type in PHP.
1204512021
*
@@ -12134,6 +12110,14 @@ class ACF_Taxonomy extends \ACF_Internal_Post_Type
1213412110
public function __construct()
1213512111
{
1213612112
}
12113+
/**
12114+
* Registers the acf-taxonomy custom post type with WordPress.
12115+
*
12116+
* @since 6.1
12117+
*/
12118+
public function register_post_type()
12119+
{
12120+
}
1213712121
/**
1213812122
* Register activated taxonomies with WordPress
1213912123
*
@@ -12150,12 +12134,6 @@ public function register_taxonomies()
1215012134
public function get_settings_array()
1215112135
{
1215212136
}
12153-
/**
12154-
* Register the CPT required for ACF taxonomies.
12155-
*/
12156-
public function register_post_type()
12157-
{
12158-
}
1215912137
/**
1216012138
* Validates post type values before allowing save from the global $_POST object.
1216112139
* Errors are added to the form using acf_add_internal_post_type_validation_error().

0 commit comments

Comments
 (0)