Changeset 3435714
- Timestamp:
- 01/09/2026 08:23:40 AM (3 months ago)
- Location:
- storecontrl-wp-connection/trunk
- Files:
-
- 2 edited
-
includes/class-storecontrl-wp-connection.php (modified) (1 diff)
-
storecontrl-wp-connection.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
storecontrl-wp-connection/trunk/includes/class-storecontrl-wp-connection.php
r3119170 r3435714 5 5 6 6 public function __construct() { 7 8 7 $this->load_dependencies(); 9 8 $this->define_admin_hooks(); 10 11 9 } 12 10 -
storecontrl-wp-connection/trunk/storecontrl-wp-connection.php
r3435393 r3435714 77 77 define( 'STORECONTRL_WP_CONNECTION_PLUGIN_BASENAME', plugin_basename(__FILE__) ); 78 78 79 add_action('wp_head', function () { 80 $plugin_data = get_file_data(__FILE__, ['Version' => 'Version'], 'plugin'); 81 $version = $plugin_data['Version'] ?? 'unknown'; 82 83 echo "\n<!-- StoreContrl Connect active (v{$version}) -->\n"; 84 }); 85 79 86 function run_storecontrl_wp_connection() { 80 87 … … 84 91 $storecontrl_wp_connection->run(); 85 92 } 86 87 93 run_storecontrl_wp_connection();
Note: See TracChangeset
for help on using the changeset viewer.