forked from RobStino/progress-indicator-block
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogress-indicator.php
More file actions
30 lines (27 loc) · 838 Bytes
/
progress-indicator.php
File metadata and controls
30 lines (27 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Progress Indicator
*
* @package ProgressIndicator
*
* Plugin Name: Progress Indicator
* Plugin URI: https://github.com/kienstra/progress-indicator
* Description: A block that lets you easily display a progress indicator on your WordPress posts or pages.
* Version: 0.1.0
* Requires at least: 5.8
* Requires PHP: 7.2
* Author: Rob Stinson
* Author URI: https://robstinson.co
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: progress-indicator
* Domain Path: languages
*/
namespace ProgressIndicator;
add_action( 'init', __NAMESPACE__ . '\register_block' );
/**
* Registers the block with the block.json file.
*/
function register_block() {
register_block_type( __DIR__ );
}