rafael@rafaelcardero.com

Logo
  • Home
  • Software
  • Training
  • Recruiting
  • Contact
  • en
    • Español
Logo
en
  • Español
  • Home
  • Software
  • Training
  • Recruiting
  • Contact

rafael@rafaelcardero.com

  • Home
  • Tutorials
Two notebooks and a laptop displaying source code.

How to Get the Registered Post Types in WordPress

Sometimes we need to get specific post types according to a set of attributes. WordPress gives an easy way to achieve this purpose.

August 28, 2025

Source code displayed in a white laptop.

How to Get the Attributes of a Post Type in WordPress

Post types in WordPress are instances of the class WP_Post_Type. This class has several attributes that describe in detail a post type.

August 28, 2025

Question mark containing white light bulbs.

How to Check if a Post Type Exists in WordPress

This skill is a must-know if you frequently develop code that interoperates with external code.

August 28, 2025

URL in gray concrete bricks painted in blue. The post type slug is highlighted.

How to Change the Slug of a Post Type in WordPress

The slug of a post type is a string that identifies the post type in web addresses.

August 28, 2025

Men removing an item from the WP Admin bar.

How to Unregister a Custom Post Type in WordPress

Post type unregistration in WordPress is easy, but use it with caution.

September 11, 2025

1 … 11 12 13

Looking for a first-class IT professional?

Contact me
Personal photo of Rafael Cardero

Rafael Cardero is a problogger, software engineer, and consultant. He loves software development and has a strong passion to help people to embrace technology and reach their potential. Certifications / Passed Tests

rafael@rafaelcardero.com

+52 962 217 2519

My Services

  • Software development
  • Training and consulting
  • IT recruiting
  • Online advertising

Make a Payment

Navigation

  • Tutorials
  • Articles
  • News
  • Courses
  • Jobs
  • Projects
  • (View All)

Latest Book

Coming soon!

Rafael Cardero & Associates, 2026