Title: jkdev's Replies | WordPress.org

---

# jkdev

  [  ](https://wordpress.org/support/users/jkdev/)

 *   [Profile](https://wordpress.org/support/users/jkdev/)
 *   [Topics Started](https://wordpress.org/support/users/jkdev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jkdev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jkdev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jkdev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jkdev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jkdev/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Delete Failed Logins – Multisite](https://wordpress.org/support/topic/delete-failed-logins-multisite/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/delete-failed-logins-multisite/#post-11998264)
 * [@wpsolutions](https://wordpress.org/support/users/wpsolutions/) [@mbrsolution](https://wordpress.org/support/users/mbrsolution/)
   I was just able to test it out and it works perfectly. Much better than what 
   I had. Thanks for the help!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Delete Failed Logins – Multisite](https://wordpress.org/support/topic/delete-failed-logins-multisite/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/delete-failed-logins-multisite/#post-11976470)
 * Looks like I got it working. This is what I added to my functions.php. Does this
   look correct?
 *     ```
       function clear_security_failed_login() {
   
               $failed_logins_table_name = AIOWPSEC_TBL_FAILED_LOGINS;
               $max_rows_failed_logins_table = '10'; //Keep a max of 5000 rows in the events table
               $max_rows_failed_logins_table = apply_filters( 'aiowps_max_rows_failed_logins_table', $max_rows_failed_logins_table );
               AIOWPSecurity_Utility::cleanup_table($failed_logins_table_name, $max_rows_failed_logins_table);
   
       }
   
       add_action('aiowps_perform_db_cleanup_tasks', 'clear_security_failed_login');
       ```
   
    -  This reply was modified 6 years, 8 months ago by [jkdev](https://wordpress.org/support/users/jkdev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Delete Failed Logins – Multisite](https://wordpress.org/support/topic/delete-failed-logins-multisite/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/delete-failed-logins-multisite/#post-11973431)
 * [@wpsolutions](https://wordpress.org/support/users/wpsolutions/) Hello, thank
   you for the info. I tried to do this, and couldn’t get the hook to work. Do you
   think it would be possible for you to give me exactly what I need to add into
   the functions.php file?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Delete Failed Logins – Multisite](https://wordpress.org/support/topic/delete-failed-logins-multisite/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/delete-failed-logins-multisite/#post-11955073)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/) Hello, just 
   checking in on this. Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Emails still going through Hostgator and NOT SMTP](https://wordpress.org/support/topic/emails-still-going-through-hostgator-and-not-smtp/)
 *  [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/emails-still-going-through-hostgator-and-not-smtp/#post-11399045)
 * Yep, I know it’s a free plugin and all….but almost been 2 weeks for me. Guess
   you need to buy a WPForms license to get help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Monitor] Zend OPcache API is restricted by “restrict_api”](https://wordpress.org/support/topic/zend-opcache-api-is-restricted-by-restrict_api-2/)
 *  [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/zend-opcache-api-is-restricted-by-restrict_api-2/#post-11257019)
 * I noticed the same thing, it’s actually why I’m here.
 * These are the locations the warning gives, if it helps:
 * 1. shutdown_action_hook()
    wp-content/plugins/query-monitor/collectors/cache.
   php:94
 * 2. do_action(‘shutdown’)
    wp-includes/load.php:788
 * 3. opcache_get_status()
    wp-content/plugins/query-monitor/collectors/cache.php:
   94
 * 4. wp-content/plugins/query-monitor/collectors/cache.php:94
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Change Error Message](https://wordpress.org/support/topic/change-error-message-2/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/change-error-message-2/#post-10956826)
 * Worked perfectly, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Admin Menu Only for Super Admin?](https://wordpress.org/support/topic/admin-menu-only-for-super-admin/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/admin-menu-only-for-super-admin/#post-10700922)
 * Hi [@mbrsolution](https://wordpress.org/support/users/mbrsolution/),
 * Thank you for the reply! Yes I added it to my child theme functions.php.
 * No problems I can tell, thanks for the advice!
 * Awesome plugin by the way. So much better than WF!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Activity Log] Not recording events for some sites?](https://wordpress.org/support/topic/not-recording-events-for-some-sites/)
 *  Thread Starter [jkdev](https://wordpress.org/support/users/jkdev/)
 * (@jkdev)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/not-recording-events-for-some-sites/#post-10700911)
 * Hi [@robert681](https://wordpress.org/support/users/robert681/),
 * Thanks for the reply.
 * Yes, that’s the just of it. When I go to the network dashboard (or the primary
   site) and view the log it shows events from some sites but not all. I know for
   a fact there has been activity some sites that aren’t displaying. On a few sites
   I know have had activity, I went into the audit log through their wp-admin and
   it shows empty.
 * Sorry, I should have known better than to leave out that info!
 * Plugin Version: 3.2.3.3
    WP Version: 4.9.8 PHP Version: 7.2.8
 * Thank you!
    -  This reply was modified 7 years, 8 months ago by [jkdev](https://wordpress.org/support/users/jkdev/).

Viewing 9 replies - 1 through 9 (of 9 total)