Skip to content

Commit 336a04f

Browse files
committed
Introduce new 'text' field parameter for overriding CMB2 text strings instead of using the 'options' array. Fixes #630
1 parent f14881c commit 336a04f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

includes/CMB2.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -926,19 +926,6 @@ public function set_prop( $property, $value ) {
926926
return $this->prop( $property );
927927
}
928928

929-
/**
930-
* Set metabox property.
931-
* @since 2.2.0
932-
* @param string $property Metabox config property to retrieve
933-
* @param mixed $value Value to set if no value found
934-
* @return mixed Metabox config property value or false
935-
*/
936-
public function set_prop( $property, $value ) {
937-
$this->meta_box[ $property ] = $value;
938-
939-
return $this->prop( $property );
940-
}
941-
942929
/**
943930
* Get metabox property and optionally set a fallback
944931
* @since 2.0.0

0 commit comments

Comments
 (0)