
Function: JScms_remove_files_directory
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...
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_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
Hook: dashboard_statistics The dashboard_statistics hook allows developers to add custom statistics to the dashboard. Plugins can contribute their own metrics, which wil...
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
Hook: editor_block_directories The editor_block_directories hook allows plugins to register their own block directories for the block editor.
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
Hook: editor_blocks The editor_blocks hook allows plugins to register custom blocks for the block editor. Each block is defined with its file path, title, and category t...
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
Hook: on_search The on_search hook allows plugins to extend the core search functionality by adding custom results based on the query.
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.