Custom PHP not working
-
Hi,
I’m trying to use your documentation’sfunction to customise Tiles Gallery and add more columns, but it seems to not working at all.
add_filter( 'vpf_extend_tiles', 'my_filter_vpf_extend_tiles' ); function my_filter_vpf_extend_tiles( $tiles ) { return array_merge( $tiles, array( array( 'value' => '6|1,1|1,1|1,1|1,1|2,1|2,1|', ), ) ); }
I’m inserting snipet in my function.php and trying to play with values, but nothing happen frontend.
Once inserted the function, do I have to specify or choose something in particular in the plugin ?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom PHP not working’ is closed to new replies.