Correct a typo in the inline docs for add_action()
.
Props nabil_kadimi, swissspidy Fixes #32697 git-svn-id: https://develop.svn.wordpress.org/trunk@32829 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
80a511015b
commit
0da957471b
@ -429,7 +429,7 @@ function doing_action( $action = null ) {
|
|||||||
* Lower numbers correspond with earlier execution,
|
* Lower numbers correspond with earlier execution,
|
||||||
* and functions with the same priority are executed
|
* and functions with the same priority are executed
|
||||||
* in the order in which they were added to the action.
|
* in the order in which they were added to the action.
|
||||||
* @param int $accepted_args Optional. The number of arguments the function accept. Default 1.
|
* @param int $accepted_args Optional. The number of arguments the function accepts. Default 1.
|
||||||
* @return true Will always return true.
|
* @return true Will always return true.
|
||||||
*/
|
*/
|
||||||
function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
|
function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user