intersynergy-login-plugin.php
/**
     * A shortcode for rendering the form used to initiate the password reset.
     *
     * @param array  $attributes Shortcode attributes.
     * @param string $content    The text content for shortcode. Not used.
     *
     * @return string The shortcode output
     */
A shortcode for rendering the form used to initiate the password reset.
@param array  $attributes Shortcode attributes.
@param string $content    The text content for shortcode. Not used.

@return string The shortcode output
A shortcode for rendering the form used to initiate the password reset . @param array $attributes Shortcode attributes . @param string $content The text content for shortcode . Not used . @return string The shortcode output
public function render_password_lost_form($attributes, $content = null)
    {
        $default_attributes = array('show_title' => false);
        $attributes = shortcode_atts($default_attributes, $attributes);
        if (is_user_logged_in()) {
            return __('You are already signed in.', 'intersynergy-login-plugin');
        } else {
            return $this->get_template_html('password_lost_form', $attributes);
        }
    }
public function render_password_lost_form ( $ attributes , $ content = null ) { $ default_attributes = array ( 'show_title' => false ) ; $ attributes = shortcode_atts ( $ default_attributes , $ attributes ) ; if ( is_user_logged_in ( ) ) { return __ ( 'You are already signed in.' , 'intersynergy-login-plugin' ) ; } else { return $ this -> get_template_html ( 'password_lost_form' , $ attributes ) ; } }
A shortcode for rendering the form used to initiate the password reset.
A shortcode for rendering the form used to initiate the password reset .
// Parse shortcode attributes