Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
plugins
/
easy-timer
/
includes
:
replace-shortcodes.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php if (!defined('ABSPATH')) { exit(); } if ((function_exists('current_user_can')) && (!current_user_can('manage_options')) && (function_exists('user_can')) && (!user_can($data['post_author'], 'manage_options'))) { global $easy_timer_shortcodes; foreach ((array) $easy_timer_shortcodes as $tag) { foreach (array('post_content', 'post_content_filtered', 'post_excerpt', 'post_title') as $key) { $data[$key] = str_replace(array('['.$tag, $tag.']'), array('['.$tag, $tag.']'), $data[$key]); } } }