_x('Text Shadow', 'Text Shadow Control'), 'type' => ControlsManager::TEXT_SHADOW, 'selectors' => [ '{{SELECTOR}}' => 'text-shadow: {{HORIZONTAL}}px {{VERTICAL}}px {{BLUR}}px {{COLOR}};', ], ]; return $controls; } /** * Get default options. * * Retrieve the default options of the text shadow control. Used to return the * default options while initializing the text shadow control. * * @since 1.9.0 * * @return array Default text shadow control options */ protected function getDefaultOptions() { return [ 'popover' => [ 'starter_title' => _x('Text Shadow', 'Text Shadow Control'), 'starter_name' => 'text_shadow_type', 'starter_value' => 'yes', 'settings' => [ 'render_type' => 'ui', ], ], ]; } }