PluginProbe
Change Storefront Footer Copyright Text / trunk
Change Storefront Footer Copyright Text vtrunk
2.3.9 trunk 1.1.8 1.2.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 All 42 releases
storefront-footer / storefront-footer.php

storefront-footer.php in Change Storefront Footer Copyright Text trunk, at storefront-footer.php

62 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4
5 * Plugin Name: Change Storefront Footer Copyright Text
6 * Plugin URI: https://quadlayers.com
7 * Description: Allows you to change the official Woocommerce Storefront theme footer copyright credit text.
8 * Version: 2.3.9
9 * Text Domain: storefront-footer
10 * Author: QuadLayers
11 * Author URI: https://quadlayers.com
12 * License: GPLv3
13 * Domain Path: /languages
14 * Request at least: 4.7
15 * Tested up to: 7.1
16 * Requires PHP: 5.6
17 * WC requires at least: 4.0
18 * WC tested up to: 11.0
19 */
20
21 define( 'QLSTFT_PLUGIN_NAME', 'Storefront Footer' );
22 define( 'QLSTFT_PLUGIN_FILE', __FILE__ );
23 define( 'QLSTFT_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
24 define( 'QLSTFT_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
25 define( 'QLSTFT_PREFIX', 'qlstft' );
26 define( 'QLSTFT_DOMAIN', QLSTFT_PREFIX );
27 define( 'QLSTFT_REVIEW_URL', 'https://wordpress.org/support/plugin/woocommerce-checkout-manager/reviews/?filter=5#new-post' );
28
29 /**
30 * Load composer autoload
31 */
32 require_once __DIR__ . '/vendor/autoload.php';
33 /**
34 * Load compatibility files
35 */
36 require_once __DIR__ . '/compatibility/functions.php';
37 /**
38 * Load vendor_packages packages
39 */
40 require_once __DIR__ . '/vendor_packages/wp-i18n-map.php';
41 require_once __DIR__ . '/vendor_packages/wp-dashboard-widget-news.php';
42 require_once __DIR__ . '/vendor_packages/wp-plugin-table-links.php';
43 require_once __DIR__ . '/vendor_packages/wp-notice-plugin-promote.php';
44 require_once __DIR__ . '/vendor_packages/wp-plugin-install-tab.php';
45 require_once __DIR__ . '/vendor_packages/wp-plugin-feedback.php';
46 /**
47 * Load plugin classes
48 */
49 require_once __DIR__ . '/lib/class-plugin.php';
50
51 /**
52 * Declarate compatibility with WooCommerce Custom Order Tables
53 */
54 add_action(
55 'before_woocommerce_init',
56 function () {
57 if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
58 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
59 }
60 }
61 );
62