ExpressionEngine

2.5.0 User Guide

Typography Library Extension Hooks

typography_parse_type_end

Modify string after all other typography processing

$str = $this->extensions->call('typography_parse_type_end', $str, $this, $prefs);

$str

The string currently being parsed.

$this

The Typography library object - accept by reference in your methods.

$prefs

Any prefs sent to the $this->typography->parse_type() method with this string.

returns:String

Added in v1.4.0

typography_parse_type_start

Modify string prior to all other typography processing

$str = $this->extensions->call('typography_parse_type_start', $str, $this, $prefs);

$str

The string currently being parsed.

$this

The Typography library object - accept by reference in your methods.

$prefs

Any prefs sent to the $TYPE->parse_type function with this string.

returns:Array

Added in v1.4.0

User Contributed Notes

You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide