'the-bootstrap-image-meta', 'description' => __( 'Displays meta information on image attachment pages', 'the-bootstrap' ) ) ); } /** * Displays the widget content * * @author Konstantin Obeland * @since 1.1.0 - 08.03.2012 * @access public * * @param array $args * @param array $instance * * @return void */ public function widget( $args, $instance ) { if ( is_attachment() ) { extract( $args ); $title = apply_filters( 'widget_title', empty($instance['title'] ) ? __( 'Info', 'the-bootstrap' ) : $instance['title'] ); $image_meta = wp_get_attachment_metadata(); echo $before_widget . $before_title . $title . $after_title; ?>