PluginProbe
Code Embed / 2.6.3
Code Embed v2.6.3
2.6.4 2.6.3 2.6.2 2.6.1 trunk 1.0 1.1 1.2 1.3 1.4.1 1.5.1 1.6.1 2.0.2 2.1.2 2.2.2 2.3.9 2.4 2.5.1 2.5.2 2.6
simple-embed-code / includes / add-css-scripts.php

add-css-scripts.php in Code Embed 2.6.3, at includes/add-css-scripts.php

29 lines 557 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Add CSS scripts
4 *
5 * Add CSS to the main theme.
6 *
7 * @package simple-embed-code
8 */
9
10 // Exit if accessed directly.
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit;
14 }
15
16 /**
17 * Add styles to theme
18 *
19 * Registers and enqueues the responsive video container stylesheet.
20 */
21 function code_embed_css_scripts() {
22
23 wp_register_style( 'code_embed_responsive', plugins_url( 'css/video-container.min.css', __DIR__ ), array(), CODE_EMBED_VERSION );
24
25 wp_enqueue_style( 'code_embed_responsive' );
26 }
27
28 add_action( 'wp_enqueue_scripts', 'code_embed_css_scripts' );
29