@@ 43-54 (lines=12) @@ | ||
40 | $this->fields(); |
|
41 | } |
|
42 | ||
43 | function it_should_connector() |
|
44 | { |
|
45 | $this->connector()->shouldReturn([ |
|
46 | [ |
|
47 | [ |
|
48 | 'param' => 'post_type', |
|
49 | 'operator' => '==', |
|
50 | 'value' => 'post', |
|
51 | ], |
|
52 | ], |
|
53 | ]); |
|
54 | } |
|
55 | ||
56 | function it_should_be_remove_screen_attributes() |
|
57 | { |
@@ 28-39 (lines=12) @@ | ||
25 | /** |
|
26 | * {@inheritdoc} |
|
27 | */ |
|
28 | public function connector() |
|
29 | { |
|
30 | return [ |
|
31 | [ |
|
32 | [ |
|
33 | 'param' => 'post_type', |
|
34 | 'operator' => '==', |
|
35 | 'value' => $this->name, |
|
36 | ], |
|
37 | ], |
|
38 | ]; |
|
39 | } |
|
40 | ||
41 | /** |
|
42 | * {@inheritdoc} |