PHP Classes

File: tests/Filters/Assets/CallbackFunctions.php

Recommend this page to a friend!
  Classes of Johnny Mast  >  PHP Filters and Actions  >  tests/Filters/Assets/CallbackFunctions.php  >  Download  
File: tests/Filters/Assets/CallbackFunctions.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Filters and Actions
Listen to events and execute registered actions
Author: By
Last change:
Date: 5 years ago
Size: 278 bytes
 

Contents

Class file image Download
<?php
namespace Redbox\Hooks\Tests\Filters\Assets;

/**
 * @param string $text
 * @return string
 */
function filterPrepend($text = '')
{
    return
'@@' . $text;
}

/**
 * @param string $text
 * @return string
 */
function filterAppend($text = '')
{
    return
$text . '@@';
}