PluginProbe
Bubble Menu – Floating Button Menu with Sticky Navigation / 4.0
Bubble Menu – Floating Button Menu with Sticky Navigation v4.0
trunk 1.3 2.0 2.2 2.2.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.1 4.1.1
bubble-menu / admin / class-settings-helper.php

class-settings-helper.php in Bubble Menu – Floating Button Menu with Sticky Navigation 4.0, at admin/class-settings-helper.php

48 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class Settings_Helper
5 *
6 * This class contains helper methods for retrieving menu item types, share services,
7 * and translation options.
8 *
9 * @package BubbleMenu
10 * @subpackage Admin
11 * @author Dmytro Lobov <hey@wow-company.com>, Wow-Company
12 * @copyright 2024 Dmytro Lobov
13 * @license GPL-2.0+
14 */
15
16 namespace BubbleMenu;
17
18 defined( 'ABSPATH' ) || exit;
19
20 class Settings_Helper {
21
22 public static function item_type(): array {
23 return [
24 'link' => __( 'Link', 'bubble-menu' ),
25 'users_start' => __( 'User Links', 'bubble-menu' ),
26 'login' => __( 'Login', 'bubble-menu' ),
27 'logout' => __( 'Logout', 'bubble-menu' ),
28 'lostpassword' => __( 'Lostpassword', 'bubble-menu' ),
29 'register' => __( 'Register', 'bubble-menu' ),
30 'users_end' => __( 'User Links', 'bubble-menu' ),
31 ];
32 }
33
34 public static function label_position(): array {
35 return [
36 '' => __( 'Auto', 'bubble-menu' ),
37 '-top-right-important' => __( 'Top Right', 'bubble-menu' ),
38 '-top-left-important' => __( 'Top Left', 'bubble-menu' ),
39 '-left-important' => __( 'Left', 'bubble-menu' ),
40 '-right-important' => __( 'Right', 'bubble-menu' ),
41 '-bottom-right-important' => __( 'Bottom Right', 'bubble-menu' ),
42 '-bottom-left-important' => __( 'Bottom Left', 'bubble-menu' ),
43 ];
44 }
45
46
47 }
48