• Resolved Nimesh

    (@nimeshrathod1gmailcom)


    Hello Dev,

    I have create one shortocode :

    [property_list holiday_type_id=48]

    I am call this shortcode using below function :

    
    function resultPropertyList( $atts )
    {
       $final_res = 'my content';
       $final_res = '<script>'
             //AJA CALL WITH SAME FUNCTION 
              resultPropertyList(pagenum);
       $final_res = '</script>'
       return $final_res;
    }
    
    add_shortcode('property_list', 'myPropertyLists');
    function myPropertyLists( $atts )
    {
        return resultPropertyList($atts);
    }
    

    So at the time of click on pagination it can not change my content and return only “0”

    Any idea, where can I make mistake !

    • This topic was modified 5 years, 5 months ago by Nimesh.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘shortcode return 0’ is closed to new replies.