In this code: https://github.com/Pilot-in/PiloPress/blob/ff1e79e67cf9abd6ce5e1fce4b087d8a094f44da/includes/classes/admin/editor/class-shortcodes.php#L184-L187 Should take example of the `wp_get_document_title()` function code for this shortcode: - https://developer.wordpress.org/reference/functions/wp_get_document_title/#source Have something like: ```php if ( is_search() ) { $title = sprintf( __( 'Search Results for “%s”' ), get_search_query() ); ```