Notifications::item_template()
Description #
Include current item template.
Source #
File: addons/notifications/query.php
public function item_template() {
$verb = $this->verb_args( $this->object->noti_verb );
$file = ap_get_theme_location( 'addons/notification/' . sanitize_file_name( $verb['ref_type'] . '.php' ) );
if ( file_exists( $file ) ) {
include $file;
}
}
Expand full source code Collapse full source code View on GitHub: addons/notifications/query.php:204
Add your comment