Last active
January 22, 2018 07:48
-
-
Save anoopranawat/81bd3c2f413523c3f76bdb186e59b978 to your computer and use it in GitHub Desktop.
Add Custom Design to Portfolio and Projects Plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filter to add custom design in Portfolio Plugin | |
*/ | |
function wpos_wp_pap_pro_slider_custom_designs( $design_arr ) { | |
$design_arr['custom-1'] = __('Custom Design 1', 'portfolio-and-projects'), | |
return $design_arr; | |
} | |
add_filter( 'wp_pap_pro_slider_designs', 'wpos_wp_pap_pro_slider_custom_designs' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment