PHP code example of liesauer / ql-plugin-getmiddletext

1. Go to this page and download the library: Download liesauer/ql-plugin-getmiddletext 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/ */

    

liesauer / ql-plugin-getmiddletext example snippets


use liesauer\QLPlugin\GetMiddleText;
use QL\QueryList;

::class);

$result = $ql->getMiddleText('lql plugin testr', 'l', 'r');

var_dump($result);
// print `ql plugin test`, false returned if not found