Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Automattic\Jetpack_Boost\Contracts; |
| 4 | |
| 5 | /** |
| 6 | * Modules can implement this interface to indicate that they change the HTML output for the site visitor and they may do it after activation. |
| 7 | * E.g. Critical CSS needs to be generated first. |
| 8 | */ |
| 9 | interface Changes_Output_After_Activation { |
| 10 | |
| 11 | /** |
| 12 | * Get the action name(s) that should be used to indicate that the module is ready and changing the page output. |
| 13 | * |
| 14 | * @return string[] The names of action hooks which will be triggered to indicate when the module changes the page output. |
| 15 | */ |
| 16 | public static function get_change_output_action_names(); |
| 17 | } |