| 1 | <?php |
||
| 11 | class FooGallery_Responsive_Lightbox_dFactory_Support { |
||
|
|
|||
| 12 | |||
| 13 | function __construct() { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Add the dFactory lightbox to the available FooGallery lightboxes |
||
| 20 | * @param $lightboxes |
||
| 21 | * |
||
| 22 | * @return mixed |
||
| 23 | * @since 1.2.21 |
||
| 24 | */ |
||
| 25 | function add_lightbox($lightboxes) { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * If the dFactory lightbox is selected for the gallery, then make the integration work |
||
| 32 | * |
||
| 33 | * @param $attr |
||
| 34 | * @param $args |
||
| 35 | * @param $attachment |
||
| 36 | * |
||
| 37 | * @return mixed |
||
| 38 | * @since 1.2.21 |
||
| 39 | */ |
||
| 40 | function add_lightbox_data_rel($attr, $args, $attachment) { |
||
| 49 | } |
||
| 50 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.