Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 27
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
UsageTags
0.00% covered (danger)
0.00%
0 / 27
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 get
0.00% covered (danger)
0.00%
0 / 27
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace NewfoldLabs\WP\Module\Patterns\Library;
4
5/**
6 * Library for items.
7 */
8class UsageTags {
9
10    /**
11     * Get items.
12     *
13     * @return array|WP_Error $data Array of items or WP_Error.
14     */
15    public static function get() {
16
17        $data = array(
18            array(
19                'title' => 'layout',
20                'label' => __( 'Layout', 'nfd-wonder-blocks' ),
21            ),
22            array(
23                'title' => 'content',
24                'label' => __( 'Content', 'nfd-wonder-blocks' ),
25            ),
26            array(
27                'title' => 'info',
28                'label' => __( 'Info', 'nfd-wonder-blocks' ),
29            ),
30            array(
31                'title' => 'commerce',
32                'label' => __( 'Commerce', 'nfd-wonder-blocks' ),
33            ),
34            array(
35                'title' => 'marketing',
36                'label' => __( 'Marketing', 'nfd-wonder-blocks' ),
37            ),
38            array(
39                'title' => 'interactive',
40                'label' => __( 'Interactive', 'nfd-wonder-blocks' ),
41            ),
42        );
43
44        return $data;
45    }
46}