The rpress_get_settings filter is applied to add all settings sections and fields It receives one parameters:You can a custom template settings with restropress settings by this filter.
apply_filters( ‘rpress_get_settings’, $settings );
The sample below shows an example of how you could modify it:
function rpress_get_settings_callback( $settings ) { $custom_settings = is_array( get_option( 'custom_settings_misc' ) ) ? get_option( 'custom_settings_misc' ) : array(); $settings = array_merge( $settings, $custom_settings ); update_option( 'rpress_settings', $settings ); return $settings; } add_filter( 'rpress_get_settings’, 'rpress_get_settings_callback', 10, 1 );