front_page => frontpage
Correct the value based on what WordPress passes as filter values https://github.com/WordPress/WordPress/blob/4.7-branch/wp-includes/template.php#L29-L41
This commit is contained in:
@@ -40,7 +40,7 @@ array_map(function ($type) {
|
||||
});
|
||||
}, [
|
||||
'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'home',
|
||||
'front_page', 'page', 'paged', 'search', 'single', 'singular', 'attachment'
|
||||
'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment'
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user