WordPress action hook
themeisle_log_event
Fired by 4 WordPress plugins, running on 92K+ sites between them.
How to use themeisle_log_event
It's an action: your callback runs at that point and receives 5 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'themeisle_log_event', function( $arg1, $formatted_message, $log_entry, $function_signature, $line_number ) {
// Your code runs here.
}, 10, 5 );Argument names come from RSS Aggregator by Feedzy's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
4 plugins that fire themeisle_log_event
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
RSS Aggregator by Feedzy40,000+ installs
do_action( 'themeisle_log_event', FEEDZY_NAME, $formatted_message, $log_entry['level'], $function_signature, $line_number )includes/admin/feedzy-rss-feeds-log.php:430 -
Contact Form & SMTP Plugin for WordPress by PirateForms30,000+ installs
do_action( 'themeisle_log_event', PIRATEFORMS_NAME, sprintf( 'cannot access theme = %s', $custom ), 'error', __FILE__, __LINE__ )includes/class-pirateforms-phpformbuilder.php:171 -
Visualizer20,000+ installs
do_action( 'themeisle_log_event', Visualizer_Plugin::NAME, sprintf( 'Error while cloning chart %d = %s', $parent_chart_id, print_r( $new_chart_id, true ) ), 'error', __FILE__, __LINE__ )classes/Visualizer/Module/Chart.php:629 -
MPG2,000+ installs
do_action( 'themeisle_log_event', MPG_NAME, sprintf( __( 'Can\'t show preview due to error. ', 'multiple-pages-generator-by-porthas' ) . __( 'Details: %s', 'multiple-pages-generator-by-porthas' ), $e->getMessage() ), 'debug', __FILE__, __LINE__ )controllers/CoreController.php:307
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.