Ataino Consolelog Output
Apply css styling example.
by kanetamaru
JavaScript
/* 1: Open the Console in your browser. */
/* 2: Push ▶Run Button ↖ */
/* (php) $myout->log( '%c my WordPress.', 'color: blue' ); */
console.log('%c my WordPress. ', 'color: blue');
console.log('%c my WordPress. ', 'font-weight: bold; color: blue');
console.log('%c my WordPress. ', 'background: #222; color: white');
console.log('%c my WordPress. ', 'font-size: 16px; background: #222; color: #ff0');
/* table */
var terms = [{
"term_id":3,
"name":"Parent Category I",
"slug":"parent-category-i",
"term_group":0,
"term_taxonomy_id":3,
"taxonomy":"category",
"description":"",
"parent":0,
"count":4,
"filter":"raw",
"cat_ID":3,
"category_count":4,
"category_description":"",
"cat_name":"Parent Category I",
"category_nicename":"parent-category-i",
"category_parent":0
}];
/* (php) $myout->table( get_queried_object() ); */
console.table(terms);