• Resolved GrexSlo

    (@gregab)


    Hi, I have one problem.
    This plugin don’t include sending content of each post. So, I try adding manually (class-wp-sms-notifications) but have one problem. When I send out new post I can’t receive SMS with content of post.

    I use this code:
    ‘%title_post%’ => get_the_title($post->ID),
    ‘%the_content%’ => the_content ($post->ID), #own code#
    ‘%url_post%’ => wp_get_shortlink($post->ID),
    ‘%date_post%’ => get_post_time(‘Y-m-d’, true, $post->ID, true),

    So, the problem is just here (I think)
    ‘ the_content ’ => the_content ($post->ID),

    Which function I must use to get content of post?
    I am also add wp-sms-meta-box and class-wp-sms-settings

    I recommended you to adding this in next version

    Thanks again ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding function get_content’ is closed to new replies.