Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../inc
File: shortcode_docs.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
[0] Fix | Delete
<?php
[1] Fix | Delete
//$settings = get_option('wp_file_manager_pro_settings');
[2] Fix | Delete
$this->fm_custom_assets();
[3] Fix | Delete
?>
[4] Fix | Delete
[5] Fix | Delete
<div class="wrap fmShorcodePage">
[6] Fix | Delete
<div class="fmInnerWrap">
[7] Fix | Delete
<h3 class="mainHeading">
[8] Fix | Delete
<span class="headingIcon"><img src="<?php echo plugins_url( 'images/fm-shortcode-icon.png', __FILE__ );?>"></span>
[9] Fix | Delete
<span class="headingText"><?php _e('File Manager - Shortcode','wp-file-manager'); ?></span>
[10] Fix | Delete
</h3>
[11] Fix | Delete
[12] Fix | Delete
<div class="fm_codeParaTxt">
[13] Fix | Delete
<div class="para"><div class="lftText"><strong><?php _e('USE:' , 'wp-file-manager'); ?></strong></div> <div class="rtTxt"><code>[wp_file_manager_admin]</code> -> <?php _e('It will show file manager on front end. You can control all settings from file manager settings. It will work same as backend WP File Manager.','wp-file-manager'); ?></div></div>
[14] Fix | Delete
[15] Fix | Delete
<div class="para"><div class="lftText"><strong><?php _e('USE:', 'wp-file-manager'); ?></strong></div> <div class="rtTxt"> <code>[wp_file_manager]</code> -> <?php _e('It will show file manager on front end. But only Administrator can access it and will control from file manager settings.', 'wp-file-manager'); ?></div></div>
[16] Fix | Delete
[17] Fix | Delete
<div class="para"><div class="lftText"><strong><?php _e('USE:', 'wp-file-manager'); ?></strong></div> <div class="rtTxt"> <code>[wp_file_manager view="list" lang="en" theme="light" dateformat="d M, Y h:i A" allowed_roles="editor,author" access_folder="wp-content/plugins" write = "true" read = "false" hide_files = "kumar,abc.php" lock_extensions=".php,.css" allowed_operations="upload,download" ban_user_ids="2,3"]</code></div></div>
[18] Fix | Delete
[19] Fix | Delete
</div>
[20] Fix | Delete
[21] Fix | Delete
<label class="labelHeading"><?php _e('Parameters:', 'wp-file-manager'); ?></label>
[22] Fix | Delete
[23] Fix | Delete
<ul class="shortcodeDocList">
[24] Fix | Delete
<li><div class="lftTxt"><span class="num">1</span></div> <div class="rtTxt"><span class="strongText">allowed_roles = "*"</span> <span class="lineText">-> <?php _e('It will allow all roles to access file manager on front end or You can simple use for particular user roles as like allowed_roles="editor,author" (seprated by comma(,))' ,'wp-file-manager'); ?></span></div> </li>
[25] Fix | Delete
[26] Fix | Delete
<li><div class="lftTxt"><span class="num">2</span></div> <div class="rtTxt"> <span class="strongText">access_folder="test"</span> <span class="lineText">-> <?php _e('Here "test" is the name of folder which is located on root directory, or you can give path for sub folders as like "wp-content/plugins". If leave blank or empty it will access all folders on root directory. Default: Root directory', 'wp-file-manager'); ?></span></div> </li>
[27] Fix | Delete
[28] Fix | Delete
<li><div class="lftTxt"><span class="num">3</span></div> <div class="rtTxt"> <span class="strongText">write = "true"</span> <span class="lineText">-> <?php _e('for access to write files permissions, note: true/false, default: false', 'wp-file-manager'); ?></span></div> </li>
[29] Fix | Delete
[30] Fix | Delete
<li><div class="lftTxt"><span class="num">4</span></div> <div class="rtTxt"> <span class="strongText">read = "true"</span> <span class="lineText">-> <?php _e('for access to read files permission, note: true/false, default: true', 'wp-file-manager'); ?></span></div> </li>
[31] Fix | Delete
[32] Fix | Delete
<li><div class="lftTxt"><span class="num">5</span></div> <div class="rtTxt"> <span class="strongText">hide_files = "wp-content/plugins,wp-config.php"</span> <span class="lineText">-> <?php _e('it will hide mentioned here. Note: seprated by comma(,). Default: Null', 'wp-file-manager'); ?></span></div> </li>
[33] Fix | Delete
[34] Fix | Delete
<li><div class="lftTxt"><span class="num">6</span></div> <div class="rtTxt"> <span class="strongText">lock_extensions=".php,.css"</span> <span class="lineText">-> <?php _e('It will lock mentioned in commas. you can lock more as like ".php,.css,.js" etc. Default: Null', 'wp-file-manager'); ?></span></div> </li>
[35] Fix | Delete
[36] Fix | Delete
<li><div class="lftTxt"><span class="num">7</span></div> <div class="rtTxt"> <span class="strongText">allowed_operations="*"</span> <span class="lineText">-> <?php _e('* for all operations and to allow some operation you can mention operation name as like, allowed_operations="upload,download". Note: seprated by comma(,). Default: *', 'wp-file-manager'); ?></span> </div></li>
[37] Fix | Delete
[38] Fix | Delete
</ul>
[39] Fix | Delete
[40] Fix | Delete
<div class="subHeading"><span class="num">7.1</span><?php _e('File Operations List:', 'wp-file-manager'); ?> </div>
[41] Fix | Delete
[42] Fix | Delete
<div class="twoColListWrap">
[43] Fix | Delete
<ul class="numList numListCol">
[44] Fix | Delete
<li><span class="num">1.</span> <span class="strongText"><?php _e('mkdir ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Make directory or folder', 'wp-file-manager'); ?></span> </li>
[45] Fix | Delete
<li><span class="num">2.</span> <span class="strongText"><?php _e('mkfile ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Make file', 'wp-file-manager'); ?></span> </li>
[46] Fix | Delete
<li><span class="num">3.</span> <span class="strongText"><?php _e('rename ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Rename a file or folder', 'wp-file-manager'); ?></span> </li>
[47] Fix | Delete
<li><span class="num">4.</span> <span class="strongText"><?php _e('duplicate ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Duplicate or clone a folder or file', 'wp-file-manager'); ?></span> </li>
[48] Fix | Delete
<li><span class="num">5.</span> <span class="strongText"><?php _e('paste ->', 'wp-file-manager'); ?></span> <span class="lineText"> <?php _e('Paste a file or folder', 'wp-file-manager'); ?></span> </li>
[49] Fix | Delete
<li><span class="num">6.</span> <span class="strongText"><?php _e('ban ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Ban', 'wp-file-manager'); ?> </span> </li>
[50] Fix | Delete
<li><span class="num">7.</span> <span class="strongText"><?php _e('archive ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('To make a archive or zip' ,'wp-file-manager'); ?></span> </li>
[51] Fix | Delete
<li><span class="num">8.</span> <span class="strongText"><?php _e('extract ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Extract archive or zipped file' , 'wp-file-manager'); ?></span> </li>
[52] Fix | Delete
<li><span class="num">9.</span> <span class="strongText"><?php _e('copy ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Copy files or folders', 'wp-file-manager'); ?></span> </li>
[53] Fix | Delete
</ul>
[54] Fix | Delete
[55] Fix | Delete
<ul class="numList numListCol">
[56] Fix | Delete
<li><span class="num">10.</span> <span class="strongText"><?php _e('cut ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Simple cut a file or folder', 'wp-file-manager'); ?></span> </li>
[57] Fix | Delete
<li><span class="num">11.</span> <span class="strongText"><?php _e('edit ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Edit a file', 'wp-file-manager'); ?></span> </li>
[58] Fix | Delete
<li><span class="num">12.</span> <span class="strongText"><?php _e('rm ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Remove or delete files and folders', 'wp-file-manager'); ?></span> </li>
[59] Fix | Delete
<li><span class="num">13.</span> <span class="strongText"><?php _e('download ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Download files', 'wp-file-manager'); ?></span> </li>
[60] Fix | Delete
<li><span class="num">14.</span> <span class="strongText"><?php _e('upload ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Upload files', 'wp-file-manager'); ?></span> </li>
[61] Fix | Delete
<li><span class="num">15.</span> <span class="strongText"><?php _e('search -> ', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Search things', 'wp-file-manager'); ?></span> </li>
[62] Fix | Delete
<li><span class="num">16.</span> <span class="strongText"><?php _e('info ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Info of file', 'wp-file-manager'); ?></span> </li>
[63] Fix | Delete
<li><span class="num">17.</span> <span class="strongText"><?php _e('help ->', 'wp-file-manager'); ?></span> <span class="lineText"><?php _e('Help', 'wp-file-manager'); ?></span> </li>
[64] Fix | Delete
</ul>
[65] Fix | Delete
[66] Fix | Delete
</div>
[67] Fix | Delete
[68] Fix | Delete
<ul class="shortcodeDocList">
[69] Fix | Delete
<li><div class="lftTxt"><span class="num">8</span></div> <div class="rtTxt"> <span class="strongText">ban_user_ids="2,3"</span> <span class="lineText"><?php _e('-> It will ban particular users by just putting their ids seprated by commas(,). If user is Ban then they will not able to access wp file manager on front end.', 'wp-file-manager'); ?></span></div> </li>
[70] Fix | Delete
<li><div class="lftTxt"><span class="num">9</span></div> <div class="rtTxt"> <span class="strongText">view="list"</span> <span class="lineText"><?php _e('-> Filemanager UI View. Default: grid', 'wp-file-manager'); ?></span> </div></li>
[71] Fix | Delete
<li><div class="lftTxt"><span class="num">10</span></div> <div class="rtTxt"> <span class="strongText">dateformat="d M, Y h:i A"</span> <span class="lineText"><?php _e('-> File Modified or Create date format. Default: d M, Y h:i A', 'wp-file-manager'); ?> </span> </div></li>
[72] Fix | Delete
<li><div class="lftTxt"><span class="num">11</span></div> <div class="rtTxt"> <span class="strongText">lang="en"</span> <span class="lineText"><?php _e('-> File manager Language. Default: English(en)', 'wp-file-manager'); ?> </span> </div></li>
[73] Fix | Delete
<li><div class="lftTxt"><span class="num">12</span></div> <div class="rtTxt"> <span class="strongText">theme="light"</span> <span class="lineText"><?php _e('-> File Manager Theme. Default: Light', 'wp-file-manager'); ?> </span> </div></li>
[74] Fix | Delete
</ul>
[75] Fix | Delete
[76] Fix | Delete
</div>
[77] Fix | Delete
</div>
[78] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function