
Function: JScms_remove_files_except
5 min read time
Function: JScms_remove_files_except The JScms_remove_files_except function removes all files from a directory except for index.html. Syntax JScms_remove_files_ex...
We will explain all features, functions, hooks, plugins, editor and how to navigate and modify your content in JScms. How to create pages, plugins, add your own language phrases and use AI to improve your articles if you want.
5 min read time
Function: JScms_remove_files_except The JScms_remove_files_except function removes all files from a directory except for index.html. Syntax JScms_remove_files_ex...
5 min read time
Function: JScms_remove_single_File The JScms_remove_single_File function deletes a specified file from a given directory. Syntax JScms_remove_single_File(string...
5 min read time
Function: JScms_remove_files_directory The JScms_remove_files_directory function deletes all files and subdirectories within a specified directory and then removes the directory i...
5 min read time
Function: JScms_resize_image The JScms_resize_image function resizes and optionally crops images while maintaining aspect ratio or applying center cropping.
5 min read time
Function: getMaxUploadSize The getMaxUploadSize function determines the maximum file size allowed for uploads based on server configuration.
5 min read time
Function: convertToBytes The convertToBytes function converts shorthand notations for memory size (e.g., 8M, 2G) into their equivalent values in bytes.
5 min read time
Function: JScms_upload_preview_image The JScms_upload_preview_image function handles the uploading, validation, and processing of preview images for database entries.
5 min read time
Function: JScms_varname_blocked The JScms_varname_blocked function checks whether a given value (such as a variable name or slug) is reserved or already exists in a specified data...
5 min read time
Function: JScms_get_cat_notused The JScms_get_cat_notused function retrieves all categories from the database that are not assigned to any page and do not have an external URL.