Filters the list of CSS class names for the current element.


/**
 * Filters the list of CSS class names for the current element.
 *
 * @since 2.3.4
 *
 * @param array  $class An array of element class names.
 * @param string  $element The element to return class names for.
 */
apply_filters( 'pmpro_element_class', array( $class ), string $element );

Parameters

$class
array
$element
string

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code