function read_more_preprocess_node in Read More Link 7
Implements template_preprocess_node().
File
- ./
read_more.module, line 41 - Customize the "Read More" link shown in teasers.
Code
function read_more_preprocess_node(&$vars) {
// Remove the link from the node's $links output if the option is enabled.
if (variable_get('read_more_remove', TRUE)) {
unset($vars['content']['links']['node']['#links']['node-readmore']);
}
}