<?php
$options = [12];
$default_options = array (
'public' => true,
'show_ui' => true,
'has_archive' => true,
'capability_type' => 'post',
'hierarchical' => true,
'rewrite' => ['with_front' => false, 'slug' => 'cards'],
'query_var' => 'cards',
'supports' => ['title', 'editor', 'page-attributes'],
'show_in_menu' => true
);
var_dump(array_replace($default_options, $options));
preferences:
33.59 ms | 402 KiB | 5 Q