| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Bookmark Card |
| 4 |
* Plugin URI: https://github.com/Mamaduka/bookmark-card |
| 5 |
* Description: Turn any URL into a beautiful preview card. |
| 6 |
* Version: 2.3.0 |
| 7 |
* Requires at least: 6.9 |
| 8 |
* Requires PHP: 7.4 |
| 9 |
* Author: George Mamadashvili |
| 10 |
* Author URI: https://mamaduka.com/ |
| 11 |
* License: GPL-2.0-or-later |
| 12 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 13 |
* |
| 14 |
* @package Mamaduka\BookmarkCard |
| 15 |
*/ |
| 16 |
|
| 17 |
namespace Mamaduka\BookmarkCard; |
| 18 |
|
| 19 |
/** |
| 20 |
* Registers the block and required assets. |
| 21 |
* |
| 22 |
* @return void |
| 23 |
*/ |
| 24 |
function register_block() { |
| 25 |
register_block_type( __DIR__ ); |
| 26 |
} |
| 27 |
add_action( 'init', __NAMESPACE__ . '\\register_block' ); |
| 28 |
|