1. Go to this page and download the library: Download enesakarsu/shortcode-hunter library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
enesakarsu / shortcode-hunter example snippets
ruby
function exampleFunction($values, $content){
return "hello";
}
ruby
Some text and [example]shortcode[/example]";
echo $shortcode->parse($text);
ruby
function exampleFunction($values, $content){
return $content;
}
ruby
function exampleFunction($values, $content){
return $values["id"];
}