Completed
Push — 193-feature/delete-post-revisi... ( 4c008c...2cafa6 )
by Rajan
141:08 queued 137:21
created

MetasMetabox::render_restrict_settings()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
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