# Add new style options

#### Adding new style options <a href="#block-3f73086d-9642-40fc-9159-6ffe3f092d8f" id="block-3f73086d-9642-40fc-9159-6ffe3f092d8f"></a>

The following hook will allow the addition of a new accordion option inside the styling tab of every element of the builder

```
add_action( 'zionbuilder/schema/style_options', [ $this, 'add_style_options' ] );

public function add_style_options( $options ) {
$my_accordion = $options->get_option( '_styles.pseudo_selectors' );
if ( $my_acc ) {
   $this->attach_my_options( $my_accordion );
}
}
public function attach_my_options( $options ) {
        $options->add_option(
            'new-option',
            [
                'type'        => 'accordion_menu',
                'title'       => __( 'My option', 'zionbuilder-pro' ),
                'description' => __( 'My option contains', 'zionbuilder-pro' ),

            ]
        );
    }
```
