Editing wp-config.php

Written by  on November 13, 2016 

I need to add the line define('WP_POST_REVISIONS', false);

to my config.php , so that post revisions are disabled.

I don’t have access to wp-config.php, I have permission to edit my theme and plugins.
Is their any way i could add this code to my theme’s function.php, or is their any hook to achieve it.


Is their anyway to override the function which has been defined in wp-config.php
for eg:

define( 'BP_DEFAULT_COMPONENT', 'profile' );

can i override the above line of code without accessing wp-config.php.

Category : Wordpress

Tags :