block_name = 'smart-post-parent'; } /** * Block render function. * * @param array $attributes attributes. * @param string $content Content to be rendered. * @param array $blocks blocks. * @return string Rendered HTML content. */ public function render_block( $attributes, $content = '', $blocks = array() ) { if ( Helper::is_editor_page() ) { return $content; } return $content; } }