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

Add filter for wp_force_plain_post_permalink function #1792

Closed
sovetski opened this issue Oct 29, 2024 · 2 comments
Closed

Add filter for wp_force_plain_post_permalink function #1792

sovetski opened this issue Oct 29, 2024 · 2 comments
Labels
[Status] Done Issue is completed

Comments

@sovetski
Copy link

Hi,

The function wp_force_plain_post_permalink() is used on the function get_post_permalink(), when the post is on the status draft for example, it returns true but in some cases I want to force it to false.

Is it possible to add a filter to give the ability to edit this behaviour?

Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@atachibana
Copy link
Collaborator

@sovetski
Here is the repository for the documentation.
For the enhancement request, please open the core ticket at https://make.wordpress.org/core/reports/

@atachibana atachibana closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
@github-actions github-actions bot added the [Status] Done Issue is completed label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Done Issue is completed
Projects
None yet
Development

No branches or pull requests

2 participants