Version Description
[ Other ] Add setting page link
Download this release
Release Info
Developer | vektor-inc |
Plugin | VK Block Patterns |
Version | 0.2.0 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.2.0
- readme.txt +4 -1
- vk-block-patterns.php +8 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.5
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 0.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -16,5 +16,8 @@ When you activate this plugin that create new custom post type for custom block
|
|
16 |
|
17 |
== Changelog ==
|
18 |
|
|
|
|
|
|
|
19 |
= 0.1.0 =
|
20 |
[ Add function ] Add role function
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.5
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 0.2.0
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
16 |
|
17 |
== Changelog ==
|
18 |
|
19 |
+
= 0.2.0 =
|
20 |
+
[ Other ] Add setting page link
|
21 |
+
|
22 |
= 0.1.0 =
|
23 |
[ Add function ] Add role function
|
vk-block-patterns.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: VK Block Patterns
|
4 |
* Plugin URI: https://github.com/vektor-inc/vk-block-patterns
|
5 |
* Description: You can make and register your original custom block patterns.
|
6 |
-
* Version: 0.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Author URI: https://vektor-inc.co.jp
|
9 |
* Text Domain: vk-block-patterns
|
@@ -49,3 +49,10 @@ function vbp_plugin_loaded() {
|
|
49 |
}
|
50 |
add_action( 'plugins_loaded', 'vbp_plugin_loaded' );
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
* Plugin Name: VK Block Patterns
|
4 |
* Plugin URI: https://github.com/vektor-inc/vk-block-patterns
|
5 |
* Description: You can make and register your original custom block patterns.
|
6 |
+
* Version: 0.2.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Author URI: https://vektor-inc.co.jp
|
9 |
* Text Domain: vk-block-patterns
|
49 |
}
|
50 |
add_action( 'plugins_loaded', 'vbp_plugin_loaded' );
|
51 |
|
52 |
+
// Add a link to this plugin's settings page
|
53 |
+
function vbp_set_plugin_meta( $links ) {
|
54 |
+
$settings_link = '<a href="options-general.php?page=vk_block_patterns_options">' . __( 'Setting', 'vk-block-patterns' ) . '</a>';
|
55 |
+
array_unshift( $links, $settings_link );
|
56 |
+
return $links;
|
57 |
+
}
|
58 |
+
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'vbp_set_plugin_meta', 10, 1 );
|