Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : pro-extension.js
/**
 * WordPress dependencies
 */
const { __ } = wp.i18n;
const { Fragment } = wp.element;
const { withFilters } = wp.components;
const lockIcon = <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path d="M34 23h-2v-4c0-3.9-3.1-7-7-7s-7 3.1-7 7v4h-2v-4c0-5 4-9 9-9s9 4 9 9v4z"></path>
<path d="M33 40H17c-1.7 0-3-1.3-3-3V25c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v12c0 1.7-1.3 3-3 3zM17 24c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h16c.6 0 1-.4 1-1V25c0-.6-.4-1-1-1H17z"></path>
<circle cx="25" cy="28" r="2"></circle>
<path d="M25.5 28h-1l-1 6h3z"></path>
</svg>;
/**
 * Internal block libraries
 */
import map from 'lodash/map';

export const ProModules = () => {
	const proLinks = [
		{
			title: __( 'Header Addons', 'basetheme' ),
			description: __( 'Adds 19 elements to the header builder.', 'basetheme' ),
			setting: 'header_addon',
		},
		{
			title: __( 'Ultimate Menu', 'basetheme' ),
			description: __( 'Adds menu options for mega menus, highlight tags, icons and more.', 'basetheme' ),
			setting: 'mega_menu',
		},
		{
			title: __( 'Header/Footer Scripts', 'basetheme' ),
			description: __( 'Adds Options into the customizer to add header and footer scripts', 'basetheme' ),
			setting: 'scripts',
		},
		{
			title: __( 'Hooked Elements', 'basetheme' ),
			description: __( 'Add content anywhere into your site conditionally.', 'basetheme' ),
			setting: 'hooks',
		},
		{
			title: __( 'WooCommerce Addons', 'basetheme' ),
			description: __( 'Adds new options into the customizer for WooCommerce stores.', 'basetheme' ),
			setting: 'woocommerce',
		},
		{
			title: __( 'Infinite Scroll', 'basetheme' ),
			description: __( 'Adds Infinite Scroll for archives.', 'basetheme' ),
			setting: 'infinite_scroll',
		},
		{
			title: __( 'Local Gravatars', 'basetheme' ),
			description: __( 'Loads Gravatars from your servers to improve site performance.', 'basetheme' ),
			setting: 'local_gravatars',
		},
		{
			title: __( 'Archive Custom Page Title Backgrounds', 'basetheme' ),
			description: __( 'Allows you to assign a custom image for a taxonomy background.', 'basetheme' ),
			setting: 'archive_custom',
		},
	];
	return (
		<Fragment>
			<h2 className="section-header">{ __( 'Do more with the TheBase Addon', 'basetheme' ) }</h2>
			<div className="two-col-grid">
				{ map( proLinks, ( link ) => {
					return (
						<div className="link-item locked-item">
							<span className="lock-icon">{ lockIcon }</span>
							<h4>{ link.title }</h4>
							<p>{ link.description }</p>
							<div className="link-item-foot">
								<a href={ `https://basetheme.net/premium/?utm_source=${ link.setting }&utm_campaign=theme-dash` } target="_blank">
									{ __( 'Learn More', 'basetheme' ) }
								</a>
							</div>
						</div>
					);
				} ) }
			</div>
		</Fragment>
	);
};

export default withFilters( 'thebase_theme_pro_modules' )( ProModules );
© 2026 GrazzMean-Shell