$object = (array) $object;
$taxonomies = array();
foreach ( (array) $wp_taxonomies as $tax_name => $tax_obj ) {
if ( array_intersect( $object, (array) $tax_obj->object_type ) ) {
if ( 'names' === $output ) {
$taxonomies[] = $tax_name;
} else {
$taxonomies[ $tax_name ] = $tax_obj;
}
FatalError
|
---|
Symfony\Component\ErrorHandler\Error\FatalError: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) at /home/koukkudigital/public_html/cms/kuolinpesat2/web/wp/wp-includes/taxonomy.php:286 |