> For the complete documentation index, see [llms.txt](https://mangapress.gitbook.io/manga-press-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mangapress.gitbook.io/manga-press-documentation/functions/mangapress-get-previous-post-in-loop.md).

# mangapress\_get\_previous\_post\_in\_loop

## mangapress\_get\_previous\_post\_in\_loop()

Retrieve the previous post in The Loop. Returns a `WP_Post` object of the post if it exists, otherwise returns `false`.

### Usage

```php
<?php
    $prev_comic = mangapress_get_previous_post_in_loop();
?>
```
