add eng menus

This commit is contained in:
2021-12-09 17:59:30 +03:00
parent f989783b48
commit aba07a8e1b
6 changed files with 103 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<?php
ini_set('display_errors','off');
error_reporting(E_ALL);
//ini_set('display_errors','off');
//error_reporting(E_ALL);
require '/vhosts/beta/wp-load.php';
//require '/thosts/vij/wp/wp-load.php';

View File

@@ -64,7 +64,7 @@ function perevod_post_meta_boxes_setup() {
function perevod_post_class_meta_box( $post ) {?>
<?$args = array(
'role__in' => array( administrator, author, editor ),
'role__in' => array( 'administrator', 'author', 'editor' ),
'orderby' => 'display_name',
'order' => 'ASC',
);