Gruby refaktor

This commit is contained in:
2026-02-05 12:06:38 +01:00
parent 998f4348f3
commit af828068a9
18 changed files with 3093 additions and 2696 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Registers styles for frontend and enqueues them when shortcodes are used.
*/
function mystat_enqueue_frontend_assets() {
// Register the stylesheet. It will be enqueued by the shortcodes when needed.
$plugin_version = '1.0';
wp_register_style(
'mystat-frontend-styles',
MYSTAT_PLUGIN_URL . 'assets/css/frontend.css',
array(),
$plugin_version
);
}