Tabs Widget

Temps estimé :3 minutes 11685 vues

Normal Tab

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo. Nostra scelerisque fuga wisi aenean.

Process Tab

Try the Docly API in seconds. Create your first customer, charge, and more by following the step below.

Comments (2)

  • Demo User octobre 13, 2020

    Wouldn’t it be better practice to use get_the_title(..) in this case? directly accessing the post object’s data member would bypass applying filters and enforcing protected and private settings, unless that’s explicitly desired.

    Reply
  • Demo User octobre 13, 2020

    If you need special things—[shortcodes], paragraph tags, anything exciting—in the content, you should apply the filters as opposed to using do_shortcode().

    $post = get_post( 42 );
    $output = apply_filters( \’the_content\’, $post->post_content );

    Thanks

    Reply

Leave a comment

Sign in to post your comment or sine up if you dont have any account.

Partager ce document

Tabs Widget

Ou copier le lien

CONTENU