Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding CPT names #14

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Conversation

powerbuoy
Copy link
Contributor

This PR stores all custom post type names as constants (using define()), allowing users of the plug-in to override the post-type names.

I have tested it locally both with the default names, and using a custom name for MSPECS_DEAL_CPT and both work fine for me.

(There appears to have been some whitespace trimmed as well, my editor does that by default on save).

@ohdavva ohdavva merged commit ac0efb3 into mspecs:main Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants