' . esc_html__( 'Changelog', 'xstore' ) . '
';
$check_update = new ETheme_Version_Check();
if( $check_update->is_update_available() ) {
$out .= '
' . esc_html__('New update available with new features, performance improvements and bug fixes.', 'xstore') .
''.esc_html__('Update Now', 'xstore').'' .
'
';
}
if ( function_exists( 'wp_remote_get' ) ) {
$response = wp_remote_get( 'https://8theme.com/import/update-history/xstore/' );
$response = wp_remote_retrieve_body( $response );
$response = str_replace( 'class="arrow"', '', $response );
$response = str_replace( 'style="text-align: center"', 'style="display: none"', $response );
$response = str_replace( '', '', $response );
$response = str_replace( '
', '', $response );
$response = str_replace( '[vc_column_text]', '', $response);
$response = str_replace( '', '', $response);
$response = str_replace( '', '', $response);
$response = str_replace( '', '', $response);
$out .= $response;
} else {
$out .= '' . esc_html__( 'Can not get changelog data', 'xstore' ) . '
';
}
echo '' . $out . '
';