Actions and Filters
Action: Execute code before Ajaxify starts loading in
Action definition:
/**
* Fires before the main WPAC actions/filters. Useful for hooking in early.
*/
do_action( 'dlxplugins/ajaxify/comments/wp' );Action: Execute code after Ajaxify enqueues its scripts
Action definition:
/**
* Do action after scripts are enqueued.
*/
do_action( 'dlxplugins/ajaxify/comments/enqueue_scripts', $version, $in_footer );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.
Appearance SettingsWhen 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:
Changing Labels ProgrammaticallyNeed an action or filter?
Please contact support.
Last updated
Was this helpful?

