Change site loading message

Change site loading message

Clicking on the Quick View button on the 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 alter this message text with the following filter. Add filter to your child theme』s functions.php file.
if( ! function_exists( 'prefix_chage_site_loading_message' ) ) ;
function prefix_chage_site_loading_message( $defaults ) {
$defaults['siteLoadingTitle' ] = __( 'My Title', 'astra-portfolio' );
$defaults['siteLoadingMessage' ] = __( 'My Loading Message.', 'astra-portfolio' );
return $defaults;
}
add_filter( 'astra_portfolio_shortcode_localize_vars', 'prefix_chage_site_loading_message' );

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注