vendredi 25 mars 2016

How to write php _e('Some text', 'text'); inside below code

please help me... How to write php code in below if statement

if ( ! empty( $languages ) ) {
            $language_selector_footer = '
                            <div id="lang_sel_footer">
                                 <h4>I want to add PHP code HERE</h4>
                                    <ul>
                                    ...

            }
            $language_selector_footer .= '</ul>
                            </div>';

        }

I want to write php code in div id="lang_sel_footer". Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire