Print This page

Default Theme Background Image (Hook)

When using LoginPress on the multisite setup you may require to change the default LoginPress theme background image. The following filter will help you achieve the task

function loginpress_default_bg_callback( $background ) {
$background = '';
return $background;
add_filter( 'loginpress_default_bg', 'loginpress_default_bg_callback' );

Here $background contains the URL for the background image. Make sure the image is optimized, otherwise it can cause the login page to load slow.