REFACTOR Cleaning unsued lines
This commit is contained in:
parent
295684c654
commit
cef233ae26
|
|
@ -148,9 +148,6 @@ function metiers_patrimoine_filter_posts_declare_dropdowns()
|
||||||
{
|
{
|
||||||
global $typenow;
|
global $typenow;
|
||||||
global $wp_meta_boxes;
|
global $wp_meta_boxes;
|
||||||
// global $pagenow;
|
|
||||||
|
|
||||||
// write_log($wp_meta_boxes);
|
|
||||||
|
|
||||||
$post_type = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
|
$post_type = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
|
||||||
if ($post_type !== 'artisans') return;
|
if ($post_type !== 'artisans') return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user