mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Typo: "he" to "The"
This commit is contained in:
parent
923fbaf0c8
commit
ded444099b
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class Plugin_Name_Loader {
|
||||||
* @param string $hook The name of the WordPress action that is being registered.
|
* @param string $hook The name of the WordPress action that is being registered.
|
||||||
* @param object $component A reference to the instance of the object on which the action is defined.
|
* @param object $component A reference to the instance of the object on which the action is defined.
|
||||||
* @param string $callback The name of the function definition on the $component.
|
* @param string $callback The name of the function definition on the $component.
|
||||||
* @param int $priority Optional. he priority at which the function should be fired. Default is 10.
|
* @param int $priority Optional. The priority at which the function should be fired. Default is 10.
|
||||||
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.
|
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.
|
||||||
*/
|
*/
|
||||||
public function add_action( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
|
public function add_action( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
|
||||||
|
@ -74,7 +74,7 @@ class Plugin_Name_Loader {
|
||||||
* @param string $hook The name of the WordPress filter that is being registered.
|
* @param string $hook The name of the WordPress filter that is being registered.
|
||||||
* @param object $component A reference to the instance of the object on which the filter is defined.
|
* @param object $component A reference to the instance of the object on which the filter is defined.
|
||||||
* @param string $callback The name of the function definition on the $component.
|
* @param string $callback The name of the function definition on the $component.
|
||||||
* @param int $priority Optional. he priority at which the function should be fired. Default is 10.
|
* @param int $priority Optional. The priority at which the function should be fired. Default is 10.
|
||||||
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1
|
* @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1
|
||||||
*/
|
*/
|
||||||
public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
|
public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
|
||||||
|
|
Loading…
Reference in a new issue