@@ 227-230 (lines=4) @@ | ||
224 | $classes = array( 'cmb2-wrap', 'form-table' ); |
|
225 | ||
226 | // Use the callback to fetch classes. |
|
227 | if ( $added_classes = $this->get_param_callback_result( 'classes_cb' ) ) { |
|
228 | $added_classes = is_array( $added_classes ) ? $added_classes : array( $added_classes ); |
|
229 | $classes = array_merge( $classes, $added_classes ); |
|
230 | } |
|
231 | ||
232 | if ( $added_classes = $this->prop( 'classes' ) ) { |
|
233 | $added_classes = is_array( $added_classes ) ? $added_classes : array( $added_classes ); |
|
@@ 232-235 (lines=4) @@ | ||
229 | $classes = array_merge( $classes, $added_classes ); |
|
230 | } |
|
231 | ||
232 | if ( $added_classes = $this->prop( 'classes' ) ) { |
|
233 | $added_classes = is_array( $added_classes ) ? $added_classes : array( $added_classes ); |
|
234 | $classes = array_merge( $classes, $added_classes ); |
|
235 | } |
|
236 | ||
237 | /** |
|
238 | * Add our context classes for non-standard metaboxes. |