File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function() {
23
23
}
24
24
25
25
/**
26
- * Initializes the field.
26
+ * Initialize the field.
27
27
*/
28
28
public function __construct () {
29
29
$ this ->name = 'unique_id ' ;
@@ -34,12 +34,13 @@ public function __construct() {
34
34
}
35
35
36
36
/**
37
- * Renders the HTML field.
37
+ * Render the HTML field.
38
38
*
39
39
* @param array $field The field data.
40
40
*/
41
41
public function render_field ( $ field ) {
42
- printf ( '<input type="text" name="%s" value="%s" readonly> ' ,
42
+ printf (
43
+ '<input type="text" name="%s" value="%s" readonly> ' ,
43
44
esc_attr ( $ field ['name ' ] ),
44
45
esc_attr ( $ field ['value ' ] )
45
46
);
@@ -48,8 +49,6 @@ public function render_field( $field ) {
48
49
/**
49
50
* Define the unique ID if one does not already exist.
50
51
*
51
- * @internal This filter is applied to the value before it is saved to the database.
52
- *
53
52
* @param string $value The field value.
54
53
* @param int $post_id The post ID.
55
54
* @param array $field The field data.
You can’t perform that action at this time.
0 commit comments