Example #1
0
function test1()
{
    $buf = say_hello('Mr', 'Daniel', 'Day' . ' ' . get_last_name());
    echo "Test a few basic things.  :-)<br>\n";
    echo 'result: ' . ($buf === 'hello Mr Daniel Day Libby!' ? 'pass' : 'fail') . "<br><br>\n\n";
}
Example #2
0
<div class="[ container ]">

	<h2 class="[ text-center ][ margin-top-bottom ]">Mi cuenta</h2>

	<div class="[ row ]">

		<div class="[ col-xs-12 col-sm-6 ]">
			<section class="[ margin-bottom--large ]">
				<h3 class="[ text-left ][ margin-bottom ]">InformaciĆ³n personal</h3>
				<p>Nombre: <strong><?php 
echo get_first_name();
?>
</strong></p>
				<p>Apellido: <strong><?php 
echo get_last_name();
?>
</strong></p>
				<p>Correo: <strong><?php 
echo get_email();
?>
</strong></p>

				<div class="[ text-left ][ margin-top ]">
					<?php 
printf(__('<a class="[ color-primary ][ btn btn-primary btn-hollow btn-sm ][ inline-block ]" href="%s">editar detalles</a>', 'woocommerce'), wc_customer_edit_account_url());
?>
				</div>
			</section>

			<?php