bws_maybe_add_filters_of_types

The Bootstrap Widget Styling bws maybe add filters of types function.

Description

bws_maybe_add_filters_of_types( $types ); 

Parameters (1)

0. $types
The types.

Usage

  1. if ( !function_exists( 'bws_maybe_add_filters_of_types' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bootstrap-widget-styling/includes/bws-widget-filters.php'; 
  3.  
  4. // The types. 
  5. $types = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bws_maybe_add_filters_of_types($types); 
  9.  

Defined (1)

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

/includes/bws-widget-filters.php  
  1. function bws_maybe_add_filters_of_types( $types ) { 
  2. foreach( $types as $type ) {