List All Custom Post Types

PHOTO EMBED

Wed May 18 2022 19:13:47 GMT+0000 (Coordinated Universal Time)

Saved by @tabetha.moe #php

<pre>
  <?php
    $post_types = get_post_types();
    print_r($post_types);
  ?>
</pre>
content_copyCOPY