• Resolved nikasa

    (@nikasa)


    Is there a filter that I could add a function to modify the variable {CONTENT} before it is used to populate the sharing post?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for reaching out.

    There are various filters and hooks that you can use in Blog2Social.
    Please be so kind as to tell me a little more in detail what you want to achieve with the filter so I can take a closer look at this for you.

    In addition, the following guide shows you what kind of filters you can use:
    Blog2Social Hooks: Filters & Actions

    I’m looking forward to your reply.

    Thread Starter nikasa

    (@nikasa)

    Thanks for your quick reply.

    Yes, I was looking into these filters. What I need is a filter like b2s_filter_wp_post_image, but for post_content.

    To give you more context, our posts have a special structure (Q&A interviews), and I want to use a specific part of the post as content for the sharing post. We also store metadata in ACF, which can be used to build a snippet in the sharing content also.

    Hello,

    Thanks for your feedback.

    May I ask you if you have tried using the hooks “b2s_filter_posting_template_show_taxonomies” and “b2s_filter_posting_template_set_taxonomies” in the filters & hooks guide?

    Please be so kind as to try if they fit your scenario. The trial version of Blog2Social that you are currently using is equal to the Premium Business one which means that you should be able to use these hooks.

    Please let me know if it works for you or if you have further questions.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to adjust the {Content} variable’ is closed to new replies.