mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 14:33:32 +09:00
Extract settings setup to new class
Generally extended by the helper class.
This commit is contained in:
@@ -33,8 +33,7 @@ class Display_Featured_Image_Genesis_Customizer extends Display_Featured_Image_G
|
||||
*/
|
||||
public function customizer( $wp_customize ) {
|
||||
|
||||
$this->settings = new Display_Featured_Image_Genesis_Settings();
|
||||
$this->defaults = $this->settings->defaults();
|
||||
$this->defaults = $this->defaults();
|
||||
$setting = get_option( 'displayfeaturedimagegenesis', false );
|
||||
if ( ! $setting ) {
|
||||
add_option( 'displayfeaturedimagegenesis', $this->defaults );
|
||||
|
||||
Reference in New Issue
Block a user