Is there a way (without editing plugin file inc/styles.php) to remove some of the options from Row Styles.
e.g. I want to hide CSS Declarations and some other options in the WordPress theme I’m developing.
I know how to add custom fields, but can’t figure how to remove default ones.
Hi Dušan,
The filter that’s used to add row styles is a general filter that allows you to manipulate the $fields array. This means that you remove a certain field you filter siteorigin_panels_row_style_fields and unset the field (array item) you don’t want to use. For rows that will be:
unset( $fields['row_css'] );
.Kind regards,
Alex