src/ThemeSettings.php
public function forceValues()
    {
        $forceConfig = $this->config->getSubConfig(self::FORCE);
        foreach ($forceConfig->getArrayCopy() as $key => $value) {
            add_filter("genesis_pre_get_option_{$key}", function () use ($value) {
                return $value;
            });
        }
    }
public function forceValues()
    {
        $forceConfig = $this->config->getSubConfig(self::FORCE);
        foreach ($forceConfig->getArrayCopy() as $key => $value) {
            add_filter("genesis_pre_get_option_{$key}", function () use ($value) {
                return $value;
            });
        }
    }
public function forceValues ( ) { $ forceConfig = $ this -> config -> getSubConfig ( self :: FORCE ) ; foreach ( $ forceConfig -> getArrayCopy ( ) as $ key => $ value ) { add_filter ( "genesis_pre_get_option_{$key}" , function ( ) use ( $ value ) { return $ value ; } ) ; } }
Force specific values to be returned.
Force specific values to be returned .