wc_register_widgets

Register Widgets.

Description

wc_register_widgets(); 

Usage

  1. if ( !function_exists( 'wc_register_widgets' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-widget-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wc_register_widgets(); 
  7.  

Defined (1)

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

/includes/wc-widget-functions.php  
  1. function wc_register_widgets() { 
  2. register_widget( 'WC_Widget_Cart' ); 
  3. register_widget( 'WC_Widget_Layered_Nav_Filters' ); 
  4. register_widget( 'WC_Widget_Layered_Nav' ); 
  5. register_widget( 'WC_Widget_Price_Filter' ); 
  6. register_widget( 'WC_Widget_Product_Categories' ); 
  7. register_widget( 'WC_Widget_Product_Search' ); 
  8. register_widget( 'WC_Widget_Product_Tag_Cloud' ); 
  9. register_widget( 'WC_Widget_Products' ); 
  10. register_widget( 'WC_Widget_Rating_Filter' ); 
  11. register_widget( 'WC_Widget_Recent_Reviews' ); 
  12. register_widget( 'WC_Widget_Recently_Viewed' ); 
  13. register_widget( 'WC_Widget_Top_Rated_Products' );