1. Home
  2. Docs
  3. Greenlet Hooks
  4. Filters
  5. greenlet_attr_col

greenlet_attr_col

apply_filters( ‘greenlet_attr_col’, $attributes, $primary, $css_framework, $width, $mq )

Filters HTML tag attributes for column. This filter is only triggered for HTML tags opened via `greenlet_attr` and with associated width.

Parameters

$attributes
(array[]) An array of attributes.

$primary
(string[]) Primary CSS class.

$css_framework
(string[]) Active CSS framework.

$width
(string[]) Column width.

$mq
(array[]) Media Query array.

Example Usage:

function mytheme_copyright () {
	return '© Mysite';
}

add_filter( 'greenlet_copyright', 'mytheme_copyright' );