Disable site loading message from Website portfolio

You might have observed that clicking on Quick View button on Website Portfolio shows a loading message. This message is displayed while the plugin fetches your website design from the respective URL. This site loading message is displayed for a few seconds.

You can disable the site loading message with the following filter. Add filter to your theme’s functions.php file.

add_filter( 'astra_portfolio_shortcode_localize_vars', 'astra_portfolio_disable_site_loading_message' );

function astra_portfolio_disable_site_loading_message( $defaults = array() )
{
$defaults['siteLoadingEnabled'] = false;
return $defaults;
}

Note: If you have marked website portfolio to open in a new tab, Quick Button will not display any message. A portfolio will be opened in new tab. So the above scenario will not be applicable.