element_before(); if( isset( $this->field['settings'] ) ) { extract( $this->field['settings'] ); } $upload_type = ( isset( $upload_type ) ) ? $upload_type : 'image'; $button_title = ( isset( $button_title ) ) ? $button_title : __( 'Upload', 'cs-framework' ); $frame_title = ( isset( $frame_title ) ) ? $frame_title : __( 'Upload', 'cs-framework' ); $insert_title = ( isset( $insert_title ) ) ? $insert_title : __( 'Use Image', 'cs-framework' ); echo 'element_class() . $this->element_attributes() .'/>'; echo ''. $button_title .''; echo $this->element_after(); } }