Test Failed
Push — hotfix/fix-counts ( e9420b...4803a6 )
by Paul
05:49
created

SiteReviewsShortcode   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 12
ccs 0
cts 9
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A hideOptions() 0 10 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Shortcodes;
4
5
use GeminiLabs\SiteReviews\Shortcodes\Shortcode;
6
7
class SiteReviewsShortcode extends Shortcode
8
{
9
	protected function hideOptions() {
10
		return [
11
			'title' => __( 'Hide the title', 'site-reviews' ),
12
			'rating' => __( 'Hide the rating', 'site-reviews' ),
13
			'date' => __( 'Hide the date', 'site-reviews' ),
14
			'assigned_to' => __( 'Hide the assigned to link (if shown)', 'site-reviews' ),
15
			'content' => __( 'Hide the content', 'site-reviews' ),
16
			'avatar' => __( 'Hide the avatar (if shown)', 'site-reviews' ),
17
			'author' => __( 'Hide the author', 'site-reviews' ),
18
			'response' => __( 'Hide the response', 'site-reviews' ),
19
		];
20
	}
21
}
22