Log1x / poet

Configuration-based post type, taxonomy, block category, and block registration for Sage 10.

Home Page:https://github.com/Log1x/poet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shouldn't add_filter be add_action?

huubl opened this issue · comments

commented

add_filter('init', function () {

commented

Ah thanks

sorry didn't mean to close with comment originally.

generally I just use add_filter since most of the action functions are just aliases for filtering.

commented

No problem. Didn't know that most of the add_action functions are mostly aliases, learned something today!