xarxaprod-wp-plugin/includes/stylesheet-public.php

19 lines
507 B
PHP
Raw Normal View History

2024-01-09 16:22:35 +01:00
<?php
/**
* Registers public stylesheet for a custom plugin.
*
* This class defines all code necessary to run during the plugin's activation.
*
* @link https://xarxaprod.org
* @since 1.1.0
* @package xarxaprod_wp-plugin
* @subpackage xarxaprod_wp-plugin/includes
* @author Jorge - vitrubio.net <jorge@vitrubio.net>
*/
function xarxaprod_public_styles() {
add_editor_style( 'assets/css/xarxaprod-wpplugin-styles.css' );
}
add_action( 'admin_init', 'xarxaprod_public_styles' );