Completed
Push — 233-feature/posts-by-post-stat... ( e33426...261c88 )
by Sudar
132:57 queued 129:48
created

MetasMetabox::render_restrict_settings()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace BulkWP\BulkDelete\Core\Metas;
4
5
use BulkWP\BulkDelete\Core\Base\BaseMetabox;
6
7
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
8
9
/**
10
 * Metabox for Deleting Meta fields.
11
 *
12
 * @since 6.0.0
13
 */
14
abstract class MetasMetabox extends BaseMetabox {
15
	protected $item_type = 'metas';
16
17
	protected function render_restrict_settings() {
18
		bd_render_restrict_settings( $this->field_slug, 'posts' );
19
	}
20
}
21