Home Forums WoodMart support forum HTML BLOCK contet

HTML BLOCK contet

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #370115

    WEBMAZE
    Participant

    Sir
    Is there a function that can return the content of HTML BLOCK

    #370122

    Artem Temos
    Keymaster

    Hello,

    Here is a code that returns the content of the HTML block with ID 55.

    woodmart_get_html_block( '55' );

    Kind Regards

    #370127

    WEBMAZE
    Participant

    Dear sir thank you very much
    But can you give me a code to fill a variable with this content?

    like this ??

    $value = woodmart_get_html_block( ’55’ );
    echo $value;

    I s this ok????
    thank youuuuuuuuuuuuu

    #370138

    Artem Temos
    Keymaster

    Yes, this code seems to be correct and should work.

Viewing 4 posts - 1 through 4 (of 4 total)