Didn't find anything? Ask your questions in the forum.
Documentation Professionals Add something to the maintenance process

Add something to the maintenance process

Helpful 4.0.0 introduces the new maintenance process. Database tables are optimized with OPTIMIZE, old feedback is moved from the post type helpful_feedback to the table helpful_feedback and incorrect entries are removed from the database tables.

Here you can add your own processes using the new filter helpful_maintenance. You can find out how to do this here:

add_filter( 'helpful_maintenance', 'my_custom_process' );
function my_custom_process($response) {
  // do your stuff here  
  $response[] = 'My custom process message';
  return $response;

Then your message will be displayed in the output as soon as the user executes the maintenance by clicking on the button. You can do whatever you want there, if necessary.

This post serves more as a thought support for myself.

Was this post helpful?