The rpress_settings_gateways filter is applied add payment gateways settings in Restropress.
function rpress_settings_gateways_callback( $gateway_settings ) { $rpress_tpay_settings = array( array ( 'id' => 'rp_tpay_settings', 'name' => '<strong> Restropress Tpay Settings</strong>', 'desc' => 'Configure', 'type' => 'header' )); $gateway_settings['restropresstpay'] = $rpress_tpay_settings; } add_filter( 'rpress_settings_gateways’, ' rpress_settings_gateways_callback', 10, 1 );