| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function __construct() { |
||
| 37 | do_action( 'auto_load_next_post_integrations_init' ); |
||
| 38 | |||
| 39 | $load_integrations = apply_filters( 'auto_load_next_post_integrations', array() ); |
||
| 40 | |||
| 41 | // Load integration classes. |
||
| 42 | foreach ( $load_integrations as $integration ) { |
||
| 43 | $load_integration = new $integration(); |
||
| 44 | |||
| 45 | $this->integrations[ $load_integration->id ] = $load_integration; |
||
| 46 | } |
||
| 47 | } // END __construct() |
||
| 48 | |||
| 62 |