How to edit plugin template files of coursepress plugin

Hi Guys,

There is a file - plugins\coursepress\includes\templates\popup-window-success-enrollment.php , I have copied and pasted it in my theme folder , and doing changes there , but that are not reflecting , However I did same for other template files also but that all was working fine except this file . How can I customize it by putting it in my theme folder ?

Thanks

  • Jude

    Hi again @Raitis

    Hope you're doing great !!

    You need to modify the code here with your new template

    $signup_steps = array_merge( $signup_steps, array(
    				'success-enrollment' => array(
    					'action'	 => 'template',
    					'template'	 => $this->plugin_dir . 'includes/templates/popup-window-success-enrollment.php',
    					'on_success' => 'done',
    				),
    			) );

    ON lines 1704 exactly

    wp-content/plugins/coursepress/coursepress.php

    Cheers
    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.