Changeset 2483684
- Timestamp:
- 03/01/2021 05:05:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mobiloud-mobile-app-plugin/trunk/templates/related/content.php
r2454114 r2483684 66 66 $related_id = $item['id']; 67 67 $ml_href = esc_attr( get_site_url() . '/ml-api/v2/post/?post_id=' . $related_id ); 68 $list_cat = MLApi::get_list_cat();69 $list_cats = is_array( $list_cat ) ? implode( ',', $list_cat ) : '';70 68 ?> 71 <a class="ml-relatedposts-a" onclick="nativeFunctions.handlePost(<?php echo intval( $related_id ); ?> <?php echo ( ! empty( $list_cats ) ? ", '$list_cats'" : ''); ?>);">69 <a class="ml-relatedposts-a" onclick="nativeFunctions.handlePost(<?php echo intval( $related_id ); ?>);"> 72 70 <div class="ml-relatedposts-post"> 73 71 <?php
Note: See TracChangeset
for help on using the changeset viewer.