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; | |
} |
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 | |
/* Function to modify 'WP Featured Content and Slider Pro' Post agrs */ | |
function wpos_fcasp_modify_post_args( $post_args ) { | |
$post_args['public'] = true; | |
$post_args['rewrite'] = true; | |
return $post_args; | |
} | |
add_filter( 'wp_fcasp_post_type_args', 'wpos_fcasp_modify_post_args' ); |
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 WP Responsive Recent Post Slider Pro - Carousel | |
*/ | |
function wpos_wprpsp_crousel_custom_designs( $design_arr ) { | |
$design_arr['custom-1'] = __('Custom Design 1', 'wp-responsive-recent-post-slider'), | |
return $design_arr; | |
} | |
add_filter( 'wprpsp_recent_post_crousel_designs', 'wpos_wprpsp_crousel_custom_designs' ); |
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 | |
/* Function to modify 'Video gallery and Player Pro' Post agrs */ | |
function wpos_vgp_modify_post_args( $post_args ) { | |
$post_args['public'] = true; | |
$post_args['rewrite'] = true; | |
return $post_args; | |
} | |
add_filter( 'wp_vgp_post_type_args', 'wpos_vgp_modify_post_args' ); |
OlderNewer