'category', 'hide_empty' => true, ) ); if( empty($terms) || !is_array( $terms ) ){ return array(); } $data = array(); foreach ( $terms as $key => $value) { $term_id = absint( $value->term_id ); $data[$term_id] = esc_html( $value->name ); } return $data; } } if ( ! function_exists( 'elastic_blog_footer_section' ) ) : /** * Footer copyright * * @since 1.0.0 */ function elastic_blog_footer_section() { ?>
Creativ Themes' ); ?>