get_previous_adjacent_doc_id(); $next_post_id = documentor()->get_next_adjacent_doc_id(); // phpcs:enable if ( $prev_post_id || $next_post_id ) { ?>