WordPress.org

Ready to get started?Download WordPress

Forums

add_filter the_title not fired global? (2 posts)

  1. the_editor
    Member
    Posted 1 year ago #

    Hello,
    I' m using successfully the method add_filter the_title but unfortunatelly it seems that this filter is not fired global because its not triggered when rendering the hierarchic post parent select dropdownbox.
    is there any other hook or filter i have to use?
    Maybe it could be a problem that I 'm using custom content type?

    thanks in advance for help.

    best regards

  2. bcworkz
    Member
    Posted 1 year ago #

    'the_title' filter is never applied to this dropdown, regardless of custom or not. You could use the 'wp_dropdown_pages' filter to alter the html of this dropdown. A pages filter is used even for hierarchical posts because pages are hierarchical by default. After all, pages are just another post type.

Topic Closed

This topic has been closed to new replies.

About this Topic