Astra_Edd::edd_set_defaults_initialization()
Disable EDD style only for the first time
Description
Return
(void)
Source
File: inc/compatibility/edd/class-astra-edd.php
public function edd_set_defaults_initialization() { $astra_theme_options = get_option( 'astra-settings' ); $edd_settings = get_option( 'edd_settings' ); // Set flag to set the EDD style disable only once for the very first time. if ( ! isset( $astra_theme_options['ast-edd-disable-styles'] ) ) { $astra_theme_options['ast-edd-disable-styles'] = true; $edd_settings['disable_styles'] = true; update_option( 'astra-settings', $astra_theme_options ); update_option( 'edd_settings', $edd_settings ); } }
Expand full source code Collapse full source code View on Trac