Actions and Filters
Action: Execute code before Ajaxify starts loading in
Action definition:
Action: Execute code after Ajaxify enqueues its scripts
Action definition:
This action is executed after all of Ajaxify Comments' scripts have been enqueued. This is useful to run custom scripts after Ajaxify Comments.
Filter: Force Ajaxify Comments to load
Regardless if Ajaxify Comments is disabled, you can pass true
to force load the scripts and functionality needed to take over the comment section. This can still be overruled by the dlxplugins/ajaxify/comments/can_load
filter.
Filter definition:
Filter: Block Ajaxify Comments from loading
Prevent any loading of Ajaxify Comments scripts or functionality regarding the comment section.
Filter definition:
Filter: Prevent Activation Redirect
This next filter, if false
is returned, will not redirect the plugin to the plugin's settings screen after activation.
Filter definition:
Filter: Return a Custom Color Palette in the Admin
Ajaxify Comments allows changing the alert and text colors in the Appearance settings of the admin.
When selecting colors, Ajaxify attempts to get the theme's colors. You can return custom colors by hooking into this next filter.
Filter definition:
Filter: Filter the options before they are output as JSON
Filter the options before they are output via JSON as settings. This can be used to manipulate labels or settings per post and post type.
Filter definition:
Need an action or filter?
Please contact support.
Last updated