Skip to content

Consider deprecating fm_url_to_post_id() #532

@dlh01

Description

@dlh01

Support for custom post types was added to url_to_postid() in WordPress 3.7. According to its docs and the site where it came from, fm_url_to_post_id() was intended to work around the previous lack of support for CPTs.

Can the function be deprecated, or are there features fm_url_to_post_id() supports that that I'm overlooking?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions