Version Description
Download this release
Release Info
Developer | inc2734 |
Plugin | Smart Custom Fields |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
- readme.txt +5 -5
- smart-custom-fields.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
|
|
4 |
Tags: plugin, custom field, custom, field, meta, meta field, repeat, repeatable
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.5.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -38,7 +38,7 @@ https://www.youtube.com/watch?v=WxPZurn0yvI
|
|
38 |
|
39 |
= How to get meta data ? =
|
40 |
|
41 |
-
|
42 |
|
43 |
This method can get any meta data.
|
44 |
|
@@ -54,7 +54,7 @@ This method can get all meta data.
|
|
54 |
|
55 |
This method can get any user meta data.
|
56 |
|
57 |
-
|
58 |
|
59 |
`SCF::get_user_meta( $user_id, 'field-name' )`
|
60 |
|
@@ -66,7 +66,7 @@ This method can get all user meta data.
|
|
66 |
|
67 |
`SCF::get_user_meta( $user_id )`
|
68 |
|
69 |
-
|
70 |
|
71 |
This method can get any term meta data.
|
72 |
|
@@ -80,7 +80,7 @@ This method can get all term meta data.
|
|
80 |
|
81 |
`SCF::get_term_meta( $term_id, $taxonomy )`
|
82 |
|
83 |
-
|
84 |
|
85 |
This method can get any custom options page meta data.
|
86 |
|
4 |
Tags: plugin, custom field, custom, field, meta, meta field, repeat, repeatable
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.5.2
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
38 |
|
39 |
= How to get meta data ? =
|
40 |
|
41 |
+
**Post meta data**
|
42 |
|
43 |
This method can get any meta data.
|
44 |
|
54 |
|
55 |
This method can get any user meta data.
|
56 |
|
57 |
+
**User meta data**
|
58 |
|
59 |
`SCF::get_user_meta( $user_id, 'field-name' )`
|
60 |
|
66 |
|
67 |
`SCF::get_user_meta( $user_id )`
|
68 |
|
69 |
+
**Term meta data**
|
70 |
|
71 |
This method can get any term meta data.
|
72 |
|
80 |
|
81 |
`SCF::get_term_meta( $term_id, $taxonomy )`
|
82 |
|
83 |
+
**Custom options page meta data**
|
84 |
|
85 |
This method can get any custom options page meta data.
|
86 |
|
smart-custom-fields.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin name: Smart Custom Fields
|
4 |
* Plugin URI: https://github.com/inc2734/smart-custom-fields/
|
5 |
* Description: Smart Custom Fields is a simple plugin that management custom fields.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: inc2734
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: October 9, 2014
|
3 |
* Plugin name: Smart Custom Fields
|
4 |
* Plugin URI: https://github.com/inc2734/smart-custom-fields/
|
5 |
* Description: Smart Custom Fields is a simple plugin that management custom fields.
|
6 |
+
* Version: 2.0.1
|
7 |
* Author: inc2734
|
8 |
* Author URI: http://2inc.org
|
9 |
* Created: October 9, 2014
|