| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public static function renderComponent($componentName, $data) |
||
| 24 | { |
||
| 25 | $data = apply_filters( |
||
| 26 | 'Flynt/addComponentData', |
||
| 27 | $data, |
||
| 28 | $componentName |
||
| 29 | ); |
||
| 30 | $output = apply_filters( |
||
| 31 | 'Flynt/renderComponent', |
||
| 32 | null, |
||
| 33 | $componentName, |
||
| 34 | $data |
||
| 35 | ); |
||
| 36 | |||
| 37 | return is_null($output) ? '' : $output; |
||
| 38 | } |
||
| 60 |