GB Theme Doc

text.php

Table of Contents

disable_emojis()  : mixed
Disable the emoji's
disable_emojis_tinymce()  : mixed
Filter out the tinymce emoji plugin.
no_last_word()  : mixed
last_word()  : mixed
get_add_br()  : mixed
add_br()  : mixed
get_add_block()  : mixed
add_block()  : mixed
insert_in_middle()  : mixed
text_to_div()  : mixed
text_to_span()  : mixed
trunc()  : mixed
excerpt()  : mixed
content()  : mixed
title()  : mixed
justify_parse()  : mixed
content_text()  : mixed
truncate()  : mixed
read_more()  : mixed

Functions

disable_emojis()

Disable the emoji's

disable_emojis() : mixed

disable_emojis_tinymce()

Filter out the tinymce emoji plugin.

disable_emojis_tinymce(mixed $plugins) : mixed
Parameters
$plugins ( mixed )

no_last_word()

no_last_word([mixed $string = null ]) : mixed
Parameters
$string ( mixed = null )

last_word()

last_word([mixed $string = null ]) : mixed
Parameters
$string ( mixed = null )

get_add_br()

get_add_br(mixed $string) : mixed
Parameters
$string ( mixed )

add_br()

add_br(mixed $string) : mixed
Parameters
$string ( mixed )

get_add_block()

get_add_block(mixed $string) : mixed
Parameters
$string ( mixed )

add_block()

add_block(mixed $string) : mixed
Parameters
$string ( mixed )

insert_in_middle()

insert_in_middle(mixed $str, mixed $middle) : mixed
Parameters
$str ( mixed )
$middle ( mixed )

text_to_div()

text_to_div(mixed $text) : mixed
Parameters
$text ( mixed )

text_to_span()

text_to_span(mixed $text) : mixed
Parameters
$text ( mixed )

trunc()

trunc(mixed $text, mixed $limit[, mixed $end = '...' ]) : mixed
Parameters
$text ( mixed )
$limit ( mixed )
$end ( mixed = '...' )

excerpt()

excerpt(mixed $limit[, mixed $end = '...' ]) : mixed
Parameters
$limit ( mixed )
$end ( mixed = '...' )

content()

content(mixed $limit[, mixed $end = '...' ]) : mixed
Parameters
$limit ( mixed )
$end ( mixed = '...' )

title()

title(mixed $limit[, mixed $end = '...' ]) : mixed
Parameters
$limit ( mixed )
$end ( mixed = '...' )

justify_parse()

justify_parse(mixed $text) : mixed
Parameters
$text ( mixed )

content_text()

content_text() : mixed

truncate()

truncate(mixed $text[, mixed $length = 100 ][, mixed $options = array() ]) : mixed
Parameters
$text ( mixed )
$length ( mixed = 100 )
$options ( mixed = array() )

read_more()

read_more([mixed $length = 1400 ][, mixed $content = null ]) : mixed
Parameters
$length ( mixed = 1400 )
$content ( mixed = null )

Search results