Astra_Dynamic_CSS::astra_list_block_vertical_spacing()
For existing users, do not provide list vertical spacing.
Description
Return
(boolean) true for new users, false for old users.
Source
File: inc/class-astra-dynamic-css.php
public static function astra_list_block_vertical_spacing() { $astra_settings = get_option( ASTRA_THEME_SETTINGS ); $astra_settings['list-block-vertical-spacing'] = isset( $astra_settings['list-block-vertical-spacing'] ) ? false : true; return apply_filters( 'astra_list_block_vertical_spacing', $astra_settings['list-block-vertical-spacing'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.1.6 | Introduced. |