Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * Plugin Name: Mortgage |
---|
4 | * Description: A simple responsive mortgage calculator block with a clean flat design. |
---|
5 | * Version: 0.3.1 |
---|
6 | * Author: Calcolo Rata Mutuo |
---|
7 | * Author URI: https://www.calcoloratamutuo.net/ |
---|
8 | * License: GPL-2.0-or-later |
---|
9 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
---|
10 | * Text Domain: mortgage |
---|
11 | * |
---|
12 | * @package mortgage |
---|
13 | */ |
---|
14 | |
---|
15 | /** |
---|
16 | * Registers all block assets so that they can be enqueued through the block editor |
---|
17 | * in the corresponding context. |
---|
18 | * |
---|
19 | * @see https://developer.wordpress.org/block-editor/tutorials/block-tutorial/applying-styles-with-stylesheets/ |
---|
20 | */ |
---|
21 | function mortgage_block_init() { |
---|
22 | register_block_type_from_metadata( |
---|
23 | __DIR__, |
---|
24 | ); |
---|
25 | } |
---|
26 | add_action( 'init', 'mortgage_block_init' ); |
---|
Note: See
TracBrowser
for help on using the repository browser.