plugin.php in CodePen Embed Block trunk, at plugin.php
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: CodePen Embed Block |
| 4 | * Description: Embeds Pens |
| 5 | * Author: Chris Coyier |
| 6 | * Version: 1.2.1 |
| 7 | * Tested up to: 6.7 |
| 8 | * License: GPL2+ |
| 9 | * License URI: https://www.gnu.org/licenses/gpl-2.0.txt |
| 10 | */ |
| 11 | |
| 12 | // Exit if accessed directly. |
| 13 | if ( ! defined( 'ABSPATH' ) ) { |
| 14 | exit; |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Block Initializer. |
| 19 | */ |
| 20 | require_once plugin_dir_path( __FILE__ ) . 'src/init.php'; |
| 21 |