10, 'type' => 'filter', 'callback' => array( $this, 'render_image' ), 'args' => 1 ); $hooks['before_title']['archive']['render_block_core/post-title'] = array( 'priority' => 10, 'type' => 'filter', 'callback' => array( $this, 'render_title' ), 'args' => 1 ); return $hooks; } public function render_image( $block_content ) { return '
' . $block_content . AWL_Label_Display::instance()->show_label( 'on_image' ) . '
'; } public function render_title( $block_content ) { return AWL_Label_Display::instance()->show_label( 'before_title' ) . $block_content; } } endif; AWL_Blocks::instance();