SEO SIMPLE PACK - Version 2.1.0

Version Description

Added get method: \SSP_Output::get_meta_data( 'meta_name' )

Download this release

Release Info

Developer looswebstudio
Plugin Icon 128x128 SEO SIMPLE PACK
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.0 to 2.1.0

Files changed (3) hide show
  1. class/output.php +12 -0
  2. readme.txt +4 -1
  3. seo-simple-pack.php +2 -2
class/output.php CHANGED
@@ -77,6 +77,18 @@ class SSP_Output {
77
  add_action( 'wp_head', [ 'SSP_Output', 'main' ], 5 );
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
  /**
82
  * Genarate and output meta tags for current page.
77
  add_action( 'wp_head', [ 'SSP_Output', 'main' ], 5 );
78
  }
79
 
80
+ /**
81
+ * get_method
82
+ */
83
+ public static function get_meta_data( $key = '' ) {
84
+ if ( '' !== $key ) {
85
+ return self::$$key;
86
+ } else {
87
+ return false;
88
+ }
89
+ }
90
+
91
+
92
 
93
  /**
94
  * Genarate and output meta tags for current page.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://loos-web-studio.com/
4
  Tags: SEO, meta, analytics, webmaster, simple, japan, meta tag
5
  Requires at least: 4.6
6
  Tested up to: 5.6
7
- Stable tag: 2.0.0
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -121,6 +121,9 @@ The following hooks are available.
121
 
122
  == Changelog ==
123
 
 
 
 
124
  = 2.0.0 =
125
 
126
  - You can now set "og:image" for each page.
4
  Tags: SEO, meta, analytics, webmaster, simple, japan, meta tag
5
  Requires at least: 4.6
6
  Tested up to: 5.6
7
+ Stable tag: 2.1.0
8
  Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
121
 
122
  == Changelog ==
123
 
124
+ = 2.1.0 =
125
+ Added get method: `\SSP_Output::get_meta_data( 'meta_name' )`
126
+
127
  = 2.0.0 =
128
 
129
  - You can now set "og:image" for each page.
seo-simple-pack.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: SEO SIMPLE PACK
4
  * Plugin URI: https://wemo.tech/1670
5
  * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
6
- * Version: 2.0.0
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later
@@ -17,7 +17,7 @@ defined( 'ABSPATH' ) || exit;
17
  * 定数宣言
18
  */
19
  if ( ! defined( 'SSP_VERSION' ) ) {
20
- define( 'SSP_VERSION', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ? date_i18n( 'mdGis' ) : '2.0.0' );
21
  }
22
  if ( ! defined( 'SSP_PATH' ) ) {
23
  define( 'SSP_PATH', plugin_dir_path( __FILE__ ) );
3
  * Plugin Name: SEO SIMPLE PACK
4
  * Plugin URI: https://wemo.tech/1670
5
  * Description: A very simple SEO plugin. You can easily set and customize meta tags and OGP tags for each page.
6
+ * Version: 2.1.0
7
  * Author: LOOS,Inc.
8
  * Author URI: https://loos-web-studio.com/
9
  * License: GPL2 or later
17
  * 定数宣言
18
  */
19
  if ( ! defined( 'SSP_VERSION' ) ) {
20
+ define( 'SSP_VERSION', ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ? date_i18n( 'mdGis' ) : '2.1.0' );
21
  }
22
  if ( ! defined( 'SSP_PATH' ) ) {
23
  define( 'SSP_PATH', plugin_dir_path( __FILE__ ) );