How to program a WordPress shortcode

A shortcode is a system object, so I use the naming convention:

ShortcodeMyCode.class.php

class MyCode

public function returnShortcode(){
$stringHellowWorld = __('String hellow world!', 'textDomain');

$shortCodeOutput = <<

Leave a Reply