Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | function add_pro_hover_presets( $choices ) { |
||
22 | $choices['fg-loaded-slide-up' ]= __( 'Slide Up', 'foogallery' ); |
||
23 | $choices['fg-loaded-slide-down' ]= __( 'Slide Down', 'foogallery' ); |
||
24 | $choices['fg-loaded-slide-left' ]= __( 'Slide Left', 'foogallery' ); |
||
25 | $choices['fg-loaded-slide-right' ]= __( 'Slide Right', 'foogallery' ); |
||
26 | $choices['fg-loaded-scale-up' ]= __( 'Scale Up', 'foogallery' ); |
||
27 | $choices['fg-loaded-swing-down' ]= __( 'Swing Down', 'foogallery' ); |
||
28 | $choices['fg-loaded-drop' ]= __( 'Drop', 'foogallery' ); |
||
29 | $choices['fg-loaded-fly' ]= __( 'Fly', 'foogallery' ); |
||
30 | $choices['fg-loaded-flip' ]= __( 'Flip', 'foogallery' ); |
||
31 | return $choices; |
||
32 | } |
||
33 | } |
||
34 | } |
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.