Skip to content

Commit 9c37048

Browse files
committed
Actions and filters for 6.7.
1 parent e9010ff commit 9c37048

File tree

4 files changed

+259
-140
lines changed

4 files changed

+259
-140
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"wp-hooks/generator": "1.0.0",
2929
"oomphinc/composer-installers-extender": "^2",
3030
"roots/wordpress-core-installer": "^1.0.0",
31-
"roots/wordpress-full": "6.6"
31+
"roots/wordpress-full": "6.7"
3232
},
3333
"extra": {
3434
"wordpress-install-dir": "vendor/wordpress/wordpress",

hooks/actions.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/wp-hooks/generator/0.9.0/schema.json",
2+
"$schema": "https://raw.githubusercontent.com/wp-hooks/generator/1.0.0/schema.json",
33
"hooks": [
44
{
55
"name": "_admin_menu",
@@ -1078,7 +1078,7 @@
10781078
"type": "action_reference",
10791079
"doc": {
10801080
"description": "Loads all necessary admin bar items.",
1081-
"long_description": "This is the hook used to add, remove, or manipulate admin bar items.",
1081+
"long_description": "This hook can add, remove, or manipulate admin bar items. The priority determines the placement for new items, and changes to existing items would require a high priority. To remove or manipulate existing nodes without a specific priority, use `wp_before_admin_bar_render`.",
10821082
"tags": [
10831083
{
10841084
"name": "since",
@@ -1093,7 +1093,7 @@
10931093
"variable": "$wp_admin_bar"
10941094
}
10951095
],
1096-
"long_description_html": "<p>This is the hook used to add, remove, or manipulate admin bar items.</p>"
1096+
"long_description_html": "<p>This hook can add, remove, or manipulate admin bar items. The priority determines the placement for new items, and changes to existing items would require a high priority. To remove or manipulate existing nodes without a specific priority, use <code>wp_before_admin_bar_render</code>.</p>"
10971097
},
10981098
"args": 1
10991099
},
@@ -4339,7 +4339,7 @@
43394339
"file": "wp-cron.php",
43404340
"type": "action",
43414341
"doc": {
4342-
"description": "Fires when an error happens rescheduling a cron event.",
4342+
"description": "Fires if an error happens when rescheduling a cron event.",
43434343
"long_description": "",
43444344
"tags": [
43454345
{
@@ -4380,7 +4380,7 @@
43804380
"file": "wp-cron.php",
43814381
"type": "action",
43824382
"doc": {
4383-
"description": "Fires when an error happens unscheduling a cron event.",
4383+
"description": "Fires if an error happens when unscheduling a cron event.",
43844384
"long_description": "",
43854385
"tags": [
43864386
{
@@ -18369,7 +18369,7 @@
1836918369
},
1837018370
{
1837118371
"name": "param",
18372-
"content": "The unhashed generated application password.",
18372+
"content": "The generated application password in plain text.",
1837318373
"types": [
1837418374
"string"
1837518375
],
@@ -18842,7 +18842,7 @@
1884218842
"name": "param",
1884318843
"content": "SimplePie feed object (passed by reference).",
1884418844
"types": [
18845-
"\\SimplePie"
18845+
"\\SimplePie\\SimplePie"
1884618846
],
1884718847
"variable": "$feed"
1884818848
},
@@ -19720,6 +19720,11 @@
1972019720
"name": "since",
1972119721
"content": "6.2.0"
1972219722
},
19723+
{
19724+
"name": "since",
19725+
"content": "6.7.0",
19726+
"description": "The <code>$old_user_data</code> parameter was added."
19727+
},
1972319728
{
1972419729
"name": "param",
1972519730
"content": "The plaintext password just set.",
@@ -19735,11 +19740,19 @@
1973519740
"int"
1973619741
],
1973719742
"variable": "$user_id"
19743+
},
19744+
{
19745+
"name": "param",
19746+
"content": "Object containing user's data prior to update.",
19747+
"types": [
19748+
"\\WP_User"
19749+
],
19750+
"variable": "$old_user_data"
1973819751
}
1973919752
],
1974019753
"long_description_html": ""
1974119754
},
19742-
"args": 2
19755+
"args": 3
1974319756
},
1974419757
{
1974519758
"name": "wp_sitemaps_init",
@@ -19943,7 +19956,7 @@
1994319956
},
1994419957
{
1994519958
"name": "param",
19946-
"content": "The updated app password details.",
19959+
"content": "{ The updated application password details. @type string $uuid The unique identifier for the application password. @type string $app_id A UUID provided by the application to uniquely identify it. @type string $name The name of the application password. @type string $password A one-way hash of the password. @type int $created Unix timestamp of when the password was created. @type int|null $last_used The Unix timestamp of the GMT date the application password was last used. @type string|null $last_ip The IP address the application password was last used by. }",
1994719960
"types": [
1994819961
"array"
1994919962
],

0 commit comments

Comments
 (0)