enqueues.php
2 weeks ago
health-check.php
2 weeks ago
helpers.php
2 weeks ago
scripts.php
2 weeks ago
styles.php
2 weeks ago
styles.php
34 lines
| 1 | <?php |
| 2 | /** |
| 3 | * AlphaListing Styles |
| 4 | * |
| 5 | * @package alphalisting |
| 6 | */ |
| 7 | |
| 8 | declare(strict_types=1); |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Enqueue A-Z default styling |
| 16 | * |
| 17 | * @since 0.7 |
| 18 | * @since 4.0.0 Don't conditionally load to alleviate issues with not loading. |
| 19 | * @return void |
| 20 | */ |
| 21 | function alphalisting_enqueue_styles() { |
| 22 | wp_enqueue_style( 'alphalisting' ); |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Enqueue A-Z customizer styles. |
| 27 | * |
| 28 | * @since 2.1.0 |
| 29 | * @return void |
| 30 | */ |
| 31 | function alphalisting_customize_enqueue_styles() { |
| 32 | wp_enqueue_style( 'alphalisting-admin' ); |
| 33 | } |
| 34 |