';
}
}
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();
}
}