Completed
Pull Request — develop (#1350)
by Naveen
03:15
created

Settings_Tab   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 11 1
1
<?php
2
/**
3
 * @since 3.31.0
4
 * @author Naveen Muthusamy <[email protected]>
5
 */
6
namespace Wordlift\Videoobject\Tabs;
7
8
class Settings_Tab {
9
10
	public function init() {
11
12
		add_filter( 'wl_admin_page_tabs', function ( $tabs ) {
13
			$tabs[] = array(
14
				'slug'  => 'videoobject-settings',
15
				'title' => __( 'Video Settings', 'wordlift' )
16
			);
17
			return $tabs;
18
		} );
19
20
	}
21
22
}
23