Skip to content

Commit

Permalink
Introduce new 'text' field parameter for overriding CMB2 text strin…
Browse files Browse the repository at this point in the history
…gs instead of using the `'options'` array. Fixes #630
  • Loading branch information
jtsternberg committed Sep 8, 2016
1 parent f14881c commit 336a04f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions includes/CMB2.php
Original file line number Diff line number Diff line change
Expand Up @@ -926,19 +926,6 @@ public function set_prop( $property, $value ) {
return $this->prop( $property );
}

/**
* Set metabox property.
* @since 2.2.0
* @param string $property Metabox config property to retrieve
* @param mixed $value Value to set if no value found
* @return mixed Metabox config property value or false
*/
public function set_prop( $property, $value ) {
$this->meta_box[ $property ] = $value;

return $this->prop( $property );
}

/**
* Get metabox property and optionally set a fallback
* @since 2.0.0
Expand Down

0 comments on commit 336a04f

Please sign in to comment.