Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

pixelfear/Statamic-Replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Replace

Simple string replacements.

Installation

Place pi.replace.php in _add-ons/replace/.

Usage

Single replacements:

{{ replace find="Jason" replace="Jack" }}
  Hello there Jason
{{ /replace }}

=> Hello there Jack

Multiple replacements:

{{ replace find="Hello|Jason" replace="Hi|Jack" }}
  Hello there Jason
{{ /replace }}

=> Hi there Jack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages