By default the user can only edit their comments for the first 5 minutes. After that, the user is not able to edit their comment. If you want to change this time period, then this plugin allows you to do so using a filter. Simply add the following code in your theme’s functions.php file or in a site-specific plugin like this:
add_filter( 'sce_comment_time', 'edit_sce_comment_time' );
function edit_sce_comment_time( $time_in_minutes ) {
return 10;
}
In this code above, we have simply increased the time limit set by the plugin to 10 minutes however you can modify it to anything else that you like. Since the purpose is to allow users to fix small grammatical errors or taking back something right away, in our opinion it is best to not to set the limit higher than 30 minutes.
Related Posts:
- Datepicker not supporting timepicker
- Contributive page where people logged in can write
- Trying to fix form resubmition with PRG (Getting error: Cannot modify header information – headers already sent by)
- AJAX fileupload – TypeError: not a function ajaxSubmit()
- How to auto strip hyperlinks & images in wordpress post
- Plugin for visitors to edit content without logging in? [closed]
- How to upload PDF from Front-End and post automatically?
- Why doesn’t a form need an ‘action’ with a plugin that uses the post data?
- Capturing POST data
- Get a submitted value from front end post form for single template
- How to get an error message if a form is empty (plugin: Post for site) [closed]
- Calendar Solution: Handling upcoming Dates with Posts?
- Redirection not working in this front end post submission form?
- get_post_type on post.php
- Is there an easy way to flag posts in the admin area?
- Show an image in my header.php
- finding whether request is for post, and post id
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- Anonymous Postings
- Any built-in function to associate a post to category through a plugin?
- Creating an online questionnaire form – by Importing the questions from a spreadsheet?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- How to hide some section in WordPress under Post
- Using a custom plugin to capture input data via Ajax and PHP
- Display post lists in 2nd paragraph
- Can’t delete Draft Post [closed]
- Matching Chapters to a Custom posts [closed]
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- WordPress display breadcrumbs using Yoast plugin [closed]
- Outbound link autometic converted into linkdirect , and not opening
- Display by Category in Admin
- auto populate list of questions if user select a category xyz
- WordPress WPforms customization
- Preg Match All doesn’t Allow echo first character for WordPress Taxonomy Tags
- How to allow an editor to edit all WordPress blog posts but have the last say as administrator?
- Two problems on my WordPress installation [closed]
- posts comments goes to trash
- Contact Form 7 Get Image Function [closed]
- Excerpts on category page
- Submit page limited in time to upload image
- Adapt PHP form action for WordPress?
- How to pull email and name from Flamingo plugin
- Which widget to use for display category post with view more? [closed]
- Is there any way to use google input tool or any other language keyboard with WordPress [closed]
- Ajax fail and get 504 error
- Take input from form and pass it to function using a wp-plugin
- Checkbox conflict in my custom plugin admin page
- External RSS feed to WordPress Portfolio
- How to insert HTML/JavaScript form into WordPress page? [closed]
- ob_start() combined with wp_query
- Front end inline editing?
- How do I make a child theme I made POST through a 3rd party plugin?
- WP Plugins – Use includes to display page content
- Display wordpress post’s in popup?
- How to fetch form data and show it to my page?
- Unable to add TAB character to post?
- Plugin to create forms using HTML [closed]
- how to add text to posts from tags
- Submit custom form from post content and execute in plugin
- How to allow user to select User ID in Formidable Pro form? [closed]
- Char limit on custom blog-post form? [closed]
- How to call plugin functions in a custom template
- Add category selection to custom post type (plugin)
- Add script into front from my plugin
- Redirect to another page using contact form 7? [closed]
- Fullscreen Video/GIF Intro
- Would Gutenberg be considered a PlugIn?
- pagination on data fetched using SQL query
- How to delete all trashed item in one-go
- Is there a way to embed a Google Docs form in a page without using plugins?
- How to get the first post and second post in a wordpress blog?
- Is it possible to send blog posts via email to subscribers?
- Custom setup of wordpress comments that are displayed
- Is there any plugin which can paste a common content to my every post?
- Detailed form plugin, with ability to export to excel etc. OR edit PDF live? [closed]
- easy steps to make front end form without plugin
- Recent posts per category loop?
- ‘Organize Series Plugin’ as muti author feature
- Form that generates an ID for the customer
- Import Instagram post to WordPress blog post
- Problem of encoding characters (apostrophes) in my posts publications
- AJAX on Front-End Button Click not working – Custom Plugin
- How to backup single post in wordpress [closed]
- How to handle WordPress Plugin Front-end AJAX Call [duplicate]
- Submit Form data to another page via Ajax (WordPress Way)
- Editing a text file from plugin menu
- How to get all posts belongs to a user between a certain date
- Front-end CSS Library for plugin [closed]
- How do I publish portfolio items with a future date?
- wordpress content .php file in an iframe’s src in a wordpress post
- Ajax Plugin Not Echoing Response
- Making my plugin create a page?
- Is there a way to make the main page only display a brief description of the full article?
- How to change the post form from plugin?
- Plugin that will output submitted form data for user? [closed]
- WordPress plugin Post Creation [closed]
- How to handle forms from sidebar widgets – Processing $_POST variables using get_field_name()
- Don’t publish/update a post when a plugin finds errors in custom fields
- Allowing users to Sign-up > Login > Post articles that need approval
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?