enqueues.php
1 month ago
health-check.php
9 months ago
helpers.php
1 month ago
scripts.php
1 month ago
styles.php
1 month ago
styles.php
35 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 | * @param bool $unused Not used. |
| 20 | * @return void |
| 21 | */ |
| 22 | function alphalisting_enqueue_styles( bool $unused = false ) { |
| 23 | wp_enqueue_style( 'alphalisting' ); |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Enqueue A-Z customizer styles. |
| 28 | * |
| 29 | * @since 2.1.0 |
| 30 | * @return void |
| 31 | */ |
| 32 | function alphalisting_customize_enqueue_styles() { |
| 33 | wp_enqueue_style( 'alphalisting-admin' ); |
| 34 | } |
| 35 |