Awesome Support Developer Documentation

wpas_cf_wrapper_class_force_erase_extra


Signature

apply_filters( 'wpas_cf_wrapper_class_force_erase_extra', $erase );

Typical Usage

Whether or not to force erase extra classes.

This filter is to be used in case someone wants to get rid
of the possible extra classes a dev could have added
while customizing the output of custom fields.
This should be used in very rare cases as manually added classes
should be kept with no modification in most cases.

Parameters

  • $erase: Boolean

Returns

  • Boolean

Located In

  • File: includes\custom-fields\class-custom-field.php
  • Function: WPAS_Custom_Field::get_wrapper_class

First Available

Version 3.2.0


More Topics In Filter Hooks

Share: