Astra_Theme_Extension::extension_menu_options( array $actions )
Add extension option in menu page
Description
Parameters
- $actions
-
(array) (Required) Array of actions.
Return
(array) Return the actions.
Source
File: classes/class-astra-theme-extension.php
public function extension_menu_options( $actions ) { $actions['addons'] = array( 'label' => esc_html__( 'Addons', 'astra-addon' ), 'show' => ! is_network_admin(), ); return $actions; }
Expand full source code Collapse full source code View on Trac