| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | function add_pro_hover_presets( $choices ) { |
||
| 21 | $choices['fg-preset fg-sadie' ]= __( 'Sadie', 'foogallery' ); |
||
| 22 | $choices['fg-preset fg-layla' ]= __( 'Layla', 'foogallery' ); |
||
| 23 | $choices['fg-preset fg-oscar' ]= __( 'Oscar', 'foogallery' ); |
||
| 24 | $choices['fg-preset fg-sarah' ]= __( 'Sarah', 'foogallery' ); |
||
| 25 | $choices['fg-preset fg-goliath']= __( 'Goliath', 'foogallery' ); |
||
| 26 | $choices['fg-preset fg-jazz' ]= __( 'Jazz', 'foogallery' ); |
||
| 27 | $choices['fg-preset fg-lily' ]= __( 'Lily', 'foogallery' ); |
||
| 28 | $choices['fg-preset fg-ming' ]= __( 'Ming', 'foogallery' ); |
||
| 29 | $choices['fg-preset fg-selena' ]= __( 'Selena', 'foogallery' ); |
||
| 30 | $choices['fg-preset fg-steve' ]= __( 'Steve', 'foogallery' ); |
||
| 31 | $choices['fg-preset fg-zoe' ]= __( 'Zoe', 'foogallery' ); |
||
| 32 | return $choices; |
||
| 33 | } |
||
| 34 | } |
||
| 35 | } |
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.