|
@@ -735,7 +735,7 @@ discard block |
|
|
block discarded – undo |
|
735
|
735
|
* Return a formatted timestamp for a field |
|
736
|
736
|
* @since 2.0.0 |
|
737
|
737
|
* @param string $format Either date_format or time_format |
|
738
|
|
- * @param string $meta_value Optional meta value to check |
|
|
738
|
+ * @param integer $meta_value Optional meta value to check |
|
739
|
739
|
* @return string Formatted date |
|
740
|
740
|
*/ |
|
741
|
741
|
public function get_timestamp_format( $format = 'date_format', $meta_value = 0 ) { |
|
@@ -1007,7 +1007,7 @@ discard block |
|
|
block discarded – undo |
|
1007
|
1007
|
* Retrieve options args. Calls options_cb if it exists. |
|
1008
|
1008
|
* @since 2.0.0 |
|
1009
|
1009
|
* @param string $key Specific option to retrieve |
|
1010
|
|
- * @return array Array of options |
|
|
1010
|
+ * @return string Array of options |
|
1011
|
1011
|
*/ |
|
1012
|
1012
|
public function options( $key = '' ) { |
|
1013
|
1013
|
if ( ! empty( $this->field_options ) ) { |
Please login to merge, or discard this patch.