Astra_Memory_Limit_Notice::add_site_health_tests( array $tests )
Added Site Health tests for memory usage
Description
Parameters
- $tests
-
(array) (Required) Existing Site Health tests.
Return
(array) Modified tests array.
Source
File: inc/class-astra-memory-limit-notice.php
public function add_site_health_tests( $tests ) { $tests['direct']['astra_memory_usage'] = array( 'label' => __( 'Astra Theme Memory Usage', 'astra' ), 'test' => array( $this, 'site_health_memory_test' ), ); return $tests; }
Expand full source code Collapse full source code View on Trac