Hook ymc_post_custom_layout not working
-
Hello
I have the following codes and only the hook ymc_post_custom_layout is not working the other ones are working.
function my_custom_post_layout($layout, $post_id, $filter_id, $increment_post, $arrOptions) {
$layout = ”.get_the_title($post_id).’gertretretert’;
$layout .= ‘‘.wp_trim_words(get_the_content($post_id), 30).”;
$layout .= ‘Read More‘;
// $layout .= ‘Open Popup‘;
return $layout;
}
add_filter(‘ymc_post_custom_layout_1050_1’, ‘my_custom_post_layout’, 10, 5);// Usage example:
add_filter(‘ymc_post_date_format_1050_1’, function () {
return ‘Y-m-d’;
}, 10, 1);
// Usage example:
add_filter(‘ymc_button_show_all_1050_1’, function () {
return ‘My Alls’;
}, 10, 1);What could be?
Thank you so much for the amazing plugin!
- You must be logged in to reply to this topic.