Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




has_action [ WordPress Function ]

has_action ( $tag, $function_to_check = false )
Parameters:
  • (string) $tag The name of the action hook.
  • (callback) $function_to_check optional. If specified, return the priority of that function on this hook or false if not attached.
See:
Returns:
  • (int|boolean) Optionally returns the priority on that hook for the specified function.
Defined at:



Check if any action has been registered for a hook.

Source


<?php
function has_action($tag$function_to_check false) {
    return 
has_filter($tag$function_to_check);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics