Support » Plugin: Relevanssi - A Better Search » [feature request] Need filter for allowable tags

  • Resolved Sisir

    (@prionkor)


    Hello,

    I need to allow tags not globally but depending on the post types. The allowable tags option is helpful for general purpose.

    I am requesting to introduce a filter ‘relevanssi_excerpt_allowable_tags’ where programmers can manipulate the tags they want to permit for the excerpt.

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    No need to have a new filter: you can use the built-in pre_option_relevanssi_excerpt_allowable_tags to filter the option value before it is used. WordPress automatically generates this filter hook for all options fetched with get_option().

Viewing 1 replies (of 1 total)
  • The topic ‘[feature request] Need filter for allowable tags’ is closed to new replies.