wc_gzd_get_hook_priority

The WooCommerce Germanized wc gzd get hook priority function.

Description

wc_gzd_get_hook_priority( $hook ); 

Parameters (1)

0. $hook
The hook.

Usage

  1. if ( !function_exists( 'wc_gzd_get_hook_priority' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-germanized/includes/wc-gzd-core-functions.php'; 
  3.  
  4. // The hook. 
  5. $hook = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wc_gzd_get_hook_priority($hook); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-gzd-core-functions.php  
  1. function wc_gzd_get_hook_priority( $hook ) { 
  2. return WC_GZD_Hook_Priorities::instance()->get_hook_priority( $hook );