Completed
Push — 233-feature/posts-by-post-stat... ( d2a551...3016f6 )
by Sudar
11:19 queued 07:05
created

MetasModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render_restrict_settings() 0 2 1
1
<?php
2
3
namespace BulkWP\BulkDelete\Core\Metas;
4
5
use BulkWP\BulkDelete\Core\Base\BaseModule;
6
7
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
8
9
/**
10
 * Module for Deleting Meta fields.
11
 *
12
 * @since 6.0.0
13
 */
14
abstract class MetasModule extends BaseModule {
15
	protected $item_type = 'metas';
16
17
	protected function render_restrict_settings() {
18
		bd_render_restrict_settings( $this->field_slug, 'posts' );
19
	}
20
}
21