Inactive Logout 3.6.4 has 15 actions and 10 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Inactive Logout fires an action
add_action( 'ina__addon_form_elements', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Inactive Logout is about to use
add_filter( 'ina_allow_multiple_sessions', function( $value, $user_id ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
ina_allow_multiple_sessions
filter/** * Filter to allow certain users to have concurrent sessions when necessary */ apply_filters( 'ina_allow_multiple_sessions', true, $user_id ); -
ina_limit_logins_by_count
filter/** * Filter to limit number of concurrent users */ apply_filters( 'ina_limit_logins_by_count', $user_id ); -
apply_filters( 'ina_free_get_custom_post_types', array( 'post', 'page' ) ); -
ina__addon_form_elements
actiondo_action( 'ina__addon_form_elements' ); -
do_action( 'ina__addon_role_based_elements_table_body', $role, $ina_multiuser_setting ); -
do_action( 'ina__addon_role_based_elements_table_head' ); -
do_action( 'ina__after_advanced_form_elements' ); -
ina__logout_message
filterapply_filters( 'ina__logout_message', '<p>' . esc_html__( 'You have been logged out because of inactivity.', 'inactive-logout' ) . '</p>' ); -
ina_admin_get_message
filterapply_filters( 'ina_admin_get_message', self::$message ); -
ina_after_settings_wrapper
actiondo_action( 'ina_after_settings_wrapper', $tab ); -
do_action( 'ina_after_update_adv_settings', $container_multi_user_arr ); -
do_action( 'ina_after_update_basic_settings' ); -
ina_before_settings_wrapper
actiondo_action( 'ina_before_settings_wrapper' ); -
do_action( 'ina_before_update_adv_settings', $container_multi_user_arr ); -
do_action( 'ina_before_update_basic_settings' ); -
ina_change_login_exp_time
filterapply_filters( 'ina_change_login_exp_time', 86400 ); -
ina_currentSessionsLoggedOut
actiondo_action( 'ina_currentSessionsLoggedOut', $user_id ); -
ina_logout_redirect_url
filterapply_filters( 'ina_logout_redirect_url', $redirect_to, $current_user ); -
ina_logout_settings
filterapply_filters( 'ina_logout_settings', $data['settings'] ); -
ina_notices
actiondo_action( 'ina_notices' ); -
ina_otherSessionsLoggedOut
actiondo_action( 'ina_otherSessionsLoggedOut', $user_id ); -
ina_popup_modal_text
filterapply_filters( 'ina_popup_modal_text', [ 'ok' => ! empty( $ina_popup_modal ) && ! empty( $ina_popup_modal['text_ok'] ) ? $ina_popup_modal['text_ok'] : __( 'Ok', 'inactive-logout' ), 'close' => ! empty( $ina_popup_modal ) && ! empty( $ina_popup_modal['text_close'] ) ? $ina_popup_modal['text_close'] : __( 'Close without Reloading', 'inactive-logout' ), 'login_wait' => __( 'Logging in. Please wait', 'inactive-logout' ), 'continue' => !... ); -
apply_filters( 'ina_removeWishListMemberRestrictions', true ); -
ina_settings_page_tabs_after
actiondo_action( 'ina_settings_page_tabs_after' ); -
do_action( 'ina_settings_page_tabs_before' );
Generated from Inactive Logout's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: