Handler.php
43 lines
| 1 | <?php |
| 2 | namespace EmbedPress\Ends\Front; |
| 3 | |
| 4 | use \EmbedPress\Ends\Handler as EndHandlerAbstract; |
| 5 | |
| 6 | (defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed."); |
| 7 | |
| 8 | /** |
| 9 | * The public-facing functionality of the plugin. |
| 10 | * Defines the plugin name, version, and enqueue the public-specific stylesheets and scripts. |
| 11 | * |
| 12 | * @package EmbedPress |
| 13 | * @subpackage EmbedPress/Ends/Front |
| 14 | * @author PressShack <help@pressshack.com> |
| 15 | * @copyright Copyright (C) 2016 Open Source Training, LLC. All rights reserved. |
| 16 | * @license GPLv2 or later |
| 17 | * @since 1.0.0 |
| 18 | */ |
| 19 | class Handler extends EndHandlerAbstract |
| 20 | { |
| 21 | /** |
| 22 | * Method that register all scripts for the admin area. |
| 23 | * |
| 24 | * @since 1.0.0 |
| 25 | * |
| 26 | * @return void |
| 27 | */ |
| 28 | public function enqueueScripts() |
| 29 | {} |
| 30 | |
| 31 | /** |
| 32 | * Method that register all stylesheets for the public area. |
| 33 | * |
| 34 | * @since 1.0.0 |
| 35 | * |
| 36 | * @return void |
| 37 | */ |
| 38 | public function enqueueStyles() |
| 39 | { |
| 40 | wp_enqueue_style(EMBEDPRESS_PLG_NAME, EMBEDPRESS_URL_ASSETS .'css/embedpress.css'); |
| 41 | } |
| 42 | } |
| 43 |