add custom header theme support info to admin localize js

This commit is contained in:
Leo Germani 2018-04-26 19:41:31 -03:00
parent 6e8cf146c4
commit 256e26d555
1 changed files with 2 additions and 1 deletions

View File

@ -158,7 +158,8 @@ class Admin {
'user_caps' => $user_caps,
'user_prefs' => $prefs,
'base_url' => $TAINACAN_BASE_URL,
'admin_url' => admin_url()
'admin_url' => admin_url(),
'custom_header_support' => get_theme_support('custom-header'),
];
$maps = [