• Dear Support,

    I am developer and I am trieng to add a new option to Course -> General (as addon).
    Suddently I don’t find the way to do it.
    Can you show me the documentation or the right way?

    Best regards
    Collie-IT

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    We have the documentation for developer here.

    Thanks

    Thread Starter Collie-IT, Anne K. Frey

    (@collieit)

    To add an option try change following muster code.

    function admin_meta_box_courseDates( $meta_boxes ) {
    
    		$meta_boxes['_lp_course_startdate'] = new  LP_Meta_Box_Date_Field(
    			"Kursbegin",
    			'',
    			'',
    			array(
    			
    				'placeholder'   => "Von"
    			)
    		);
    
    		$meta_boxes['_lp_course_enddate'] = new LP_Meta_Box_Date_Field(
    			"Kursende",
    			'',
    			'',
    			array(
    				
    				'placeholder'   => "Bis"
    			)
    		);
    
    	return $meta_boxes;
    }

    @briantp maybe the development section needs some sample codes like aboth.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add a new Option to Course -> General’ is closed to new replies.