This file contains 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
<br/> | |
<hr/> |
This file contains 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
<html> | |
<body> | |
<table> | |
<tr> | |
<td colspan=3> | |
<input type="text" disabled> | |
</td> | |
</tr> | |
</table> | |
</body> |
This file contains 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
<html> | |
<body> | |
<table> | |
<tr> | |
<td colspan="3"> | |
<input type="text" disabled="disabled"> | |
</td> | |
</tr> | |
</table> | |
</body> |
This file contains 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 | |
if( have_post()) | |
{ | |
echo get_the_title(); | |
} |
This file contains 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 | |
if( have_post() ) { | |
echo get_the_title(); | |
} | |
else { | |
echo 'No post found!'; | |
} |
This file contains 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 edd_vou_pdf_modify_generate_fonts( $pdf_font ) { | |
// by default the font type is "helvetica" | |
//Remember : The font should be in tcpdf folder ( edd-pdf-vouchers/includes/tcpdf/fonts ) | |
$pdf_font = 'freeserif'; | |
return $pdf_font; | |
} |
This file contains 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 | |
add_filter('woo_vou_gift_notification_data', 'wpw_woo_vou_remove_downloadfile_text',10,1); | |
function wpw_woo_vou_remove_downloadfile_text($gift_data){ | |
if( isset($gift_data['voucher_link'])){ | |
$gift_data['voucher_link'] = str_replace('Download file', '', $gift_data['voucher_link']); // download file should be the exact that you want to remove | |
} | |
return $gift_data; |
This file contains 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
// Add filter to add custom css | |
add_filter ( 'woo_vou_check_qrcode_cstm_style', 'woo_vou_allow_admin_to_bcc_func' ); | |
function woo_vou_allow_admin_to_bcc_func ( $style ) { | |
return '<style>..woo-vou-check-code tbody tr:last-child td input { display: none;} .success { background-color: #dd9933; color: white;} </style>'; | |
} |
This file contains 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 | |
// code to Change the number of record per page for the manage schedule page | |
function wpw_auto_poster_manage_schedule_page_record( $per_page ){ | |
return '20'; // You can set the number of record per page | |
} | |
add_filter('wpw_auto_poster_manage_schedules_per_page','wpw_auto_poster_manage_schedule_page_record'); |
This file contains 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 woo_slg_custom_login_redirection_url( $redirect_url ) { | |
global $woo_slg_options, $pagenow, $woo_slg_model; | |
// Force to use settings page redirection url | |
if( ! empty($woo_slg_options['woo_slg_redirect_url']) ) { | |
$redirect_url = $woo_slg_options['woo_slg_redirect_url']; | |
} |