10, 'type' => 'filter', 'callback' => array( $this, 'us_grid_listing_post_on_image' ), 'args' => 1 ); $hooks['before_title']['archive']['us_grid_listing_post'] = array( 'priority' => 9, 'type' => 'filter', 'callback' => array( $this, 'us_grid_listing_post_title' ), 'args' => 1 ); return $hooks; } public function us_grid_listing_post_on_image( $html ) { $label = AWL_Label_Display::instance()->show_label( 'on_image' ); if ( $label && strpos( $html, 'awl-position-type-on-image' ) === false ) { $html = str_replace( 'show_label( 'before_title' ); if ( $label && strpos( $html, 'awl-position-type-before-title' ) === false ) { $html = str_replace( '' . $label . '