HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/wintergenomics_site/wp-content/themes/rife-free/advance/utilities/password.php
<?php
if(!function_exists('apollo13framework_password_form')){
	/**
	 * Modify password form
	 *
     * @return string new HTML
     */
    function apollo13framework_password_form() {
        //copy of function get_the_password_form() from \wp-includes\post-template.php ~1570
        //with small changes
        return
            '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post">
            <p class="inputs"><input name="post_password" type="password" size="20" placeholder="' . esc_attr__( 'password', 'rife-free' ) . '" /><input type="submit" name="Submit" value="' . esc_attr__( 'Submit', 'rife-free' ) . '" /></p>
            </form>
            ';
    }
}



if(!function_exists('apollo13framework_custom_password_form')){
	/**
	 * Print password page template
	 *
     * @return string HTML
     */
    function apollo13framework_custom_password_form() {
        //we get template to buffer and return it so other filters can do something with it
        ob_start();
        get_template_part('password-template');
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }
}
add_filter( 'the_password_form', 'apollo13framework_custom_password_form');



if(!function_exists('apollo13framework_custom_password_form')){
	/**
	 * Print password page template
	 *
     * @return string HTML
     */
    function apollo13framework_custom_password_form() {
        //we get template to buffer and return it so other filters can do something with it
        ob_start();
        get_template_part('password-template');
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }
}
add_filter( 'the_password_form', 'apollo13framework_custom_password_form');



if(!function_exists('apollo13framework_add_password_form_to_template')) {
    function apollo13framework_add_password_form_to_template( $content ) {
        return $content . apollo13framework_password_form();
    }
}