Application to document action and filters hook in WordPress plugins