json['locationId'] = $this->location_id; } /** * Render content just like a normal select control. * * @since 4.3.0 * @since 4.9.0 Added a button to create menus. */ public function render_content() { if ( empty( $this->choices ) ) { return; } ?> label ) ) : ?> label ); ?> description ) ) : ?> description; ?> link(); ?>> choices as $value => $label ) : echo 'value(), $value, false ) . '>' . $label . ''; endforeach; ?>