intersynergy-login-plugin.php
/**
     * Registers the settings fields needed by the plugin.
     */
Registers the settings fields needed by the plugin.
Registers the settings fields needed by the plugin .
public function register_settings_fields()
    {
        register_setting('general', 'intersynergy-login-recaptcha-site-key');
        register_setting('general', 'intersynergy-login-recaptcha-secret-key');
        add_settings_field(
            'intersynergy-login-recaptcha-site-key',
            '<label for="intersynergy-login-recaptcha-site-key">'.__('reCAPTCHA site key', 'intersynergy-login-plugin').'</label>',
            array($this, 'render_recaptcha_site_key_field'),
            'general'
        );
        add_settings_field(
            'intersynergy-login-recaptcha-secret-key',
            '<label for="intersynergy-login-recaptcha-secret-key">'.__('reCAPTCHA secret key', 'intersynergy-login-plugin').'</label>',
            array($this, 'render_recaptcha_secret_key_field'),
            'general'
        );
    }
public function register_settings_fields ( ) { register_setting ( 'general' , 'intersynergy-login-recaptcha-site-key' ) ; register_setting ( 'general' , 'intersynergy-login-recaptcha-secret-key' ) ; add_settings_field ( 'intersynergy-login-recaptcha-site-key' , '<label for="intersynergy-login-recaptcha-site-key">' . __ ( 'reCAPTCHA site key' , 'intersynergy-login-plugin' ) . '</label>' , array ( $ this , 'render_recaptcha_site_key_field' ) , 'general' ) ; add_settings_field ( 'intersynergy-login-recaptcha-secret-key' , '<label for="intersynergy-login-recaptcha-secret-key">' . __ ( 'reCAPTCHA secret key' , 'intersynergy-login-plugin' ) . '</label>' , array ( $ this , 'render_recaptcha_secret_key_field' ) , 'general' ) ; }
Registers the settings fields needed by the plugin.
Registers the settings fields needed by the plugin .
// Create settings fields for the two keys used by reCAPTCHA