/', $post->post_content, $matches ) ) { $output = true; if ( ! empty( $matches[1] ) ) { $output = strip_tags( wp_kses_no_null( trim( $matches[1] ) ) ); } } // Output return $output; } // /has_more_tag /** * Add a title to posts that are missing titles. * * @since 1.0.0 * * @param string $title * * @return string */ public static function the_title( string $title ): string { // Output return ( '' === $title ) ? ( esc_html_x( 'Untitled', 'Added to posts and pages that are missing titles.', 'michelle' ) ) : ( $title ); } // /the_title }