• Resolved MarcGuay

    (@marcguay)


    Hi. I utilize the crp_list_link filter/hook in order to modify the output. I override the whole function because my output needs are siginificantly different from the default. Previously I could easily use functions made available by the plugin such as crp_link_attributes but these are now bound to classes and I’m unsure how to gain access to them. Any help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MarcGuay

    (@marcguay)

    I found that you need to reference it by the full namespace path e.g. $d = new WebberZone\Contextual_Related_Posts\Frontend\Display();

    Plugin Author Ajay

    (@ajay)

    This should be the cleanest way. Many of the functions in Display() are static. So those you can use directly as well.

    \WebberZone\Contextual_Related_Posts\Frontend\Display::crp_link_attributes()

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.