Plugin Directory

Changeset 2483684

Timestamp:
03/01/2021 05:05:58 PM (3 years ago)
Author:
xsvet
Message:

remove code for list categories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobiloud-mobile-app-plugin/trunk/templates/related/content.php

    r2454114 r2483684  
    6666                    $related_id = $item['id'];
    6767                    $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 ) : '';
    7068                    ?>
    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 ); ?>);">
    7270                        <div class="ml-relatedposts-post">
    7371                            <?php
Note: See TracChangeset for help on using the changeset viewer.