WP Unique Post ID (Single File)
Create WordPress Unique Post ID for Custom Post Type in Pivot Table
by Mehrshad Darzi · github.com/mehrshaddarzi/wp_unique_post_id
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mehrshaddarzi/wp_unique_post_id/archive/refs/heads/main.zipReadme
How to Use?
Add Your Custom Post Type Slug to:
private static $targeted_post_types = ['product', 'portfolio', 'event'];
Get Post By DB ID?
WP_Unique_POST_ID::get_post_by_db_id($db_id, $post_type)