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

Related Articles and Recipes

Using the Zakra Theme By ThemeGrill with Paid Memberships Pro By Ansie Lima

Using the Storefront Theme By Automattic with Paid Memberships Pro By Ansie Lima

Using the OceanWP Theme with Paid Memberships Pro By Ansie Lima

Using the Neve Theme by Themeisle with Paid Memberships Pro By Ansie Lima

Using the Hestia Theme by Themeisle with Paid Memberships Pro By Ansie Lima

Using the Astra Theme by Brainstorm Force with Paid Memberships Pro By Ansie Lima

Using the Sydney Theme by aThemes with Paid Memberships Pro By Ansie Lima

Using the GeneratePress Theme by Tom with Paid Memberships Pro By Ansie Lima

Using the Customify Theme by PressMaximum with Paid Memberships Pro By Ansie Lima

Using the ColorMag Theme by ThemeGrill with Paid Memberships Pro By Kimberly Coleman

Using the Go Theme by GoDaddy with Paid Memberships Pro By Kimberly Coleman