X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHook%2FWordPress.php;h=b436a8ab6ca4d567932a7ad68eba01cb05b9152f;hb=5b7207898cb795d0e989949111773444a19afb62;hp=4ba46aa454abdd3fd39fe8e79a9a2b650e1464b8;hpb=a946aa64b981cfd2738fa06fa9ce34dd5b76f5f7;p=civicrm-core.git diff --git a/CRM/Utils/Hook/WordPress.php b/CRM/Utils/Hook/WordPress.php index 4ba46aa454..b436a8ab6c 100644 --- a/CRM/Utils/Hook/WordPress.php +++ b/CRM/Utils/Hook/WordPress.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @@ -64,7 +64,7 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook { ); /** - * Invoke hooks + * Invoke hooks. * * @param int $numParams * Number of parameters to pass to the hook. @@ -109,7 +109,7 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook { */ // distinguish between types of hook - if (! in_array($fnSuffix, $this->hooksThatReturn)) { + if (!in_array($fnSuffix, $this->hooksThatReturn)) { // only pass the arguments that have values $args = array_slice( @@ -169,7 +169,6 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook { } - /** * Build the list of plugins ("modules" in CiviCRM terminology) to be processed for hooks. * We need to do this to preserve the CiviCRM hook signatures for hooks that require @@ -220,6 +219,4 @@ class CRM_Utils_Hook_WordPress extends CRM_Utils_Hook { } } - - }