# learnpress/4.4.9/assets/src/apps/js/blocks/single-course-legacy/edit.js

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.9. 27 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.9/code/assets/src/apps/js/blocks/single-course-legacy/edit.js
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.9/raw/assets/src/apps/js/blocks/single-course-legacy/edit.js
- Modified: 2026-09-27T10:32:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.9/code/assets/src/apps/js/blocks/single-course-legacy/edit.js#L10-L20`.

```javascript
import { __ } from '@wordpress/i18n';
import { Placeholder } from '@wordpress/components';
import { useBlockProps } from '@wordpress/block-editor';

const Edit = ( props ) => {
	const blockProps = useBlockProps();

	return (
		<div { ...blockProps }>
			<Placeholder
				label={ __( 'Single Course (Legacy)', 'learnpress' ) }
			>
				<div>
					{
						__(
							'Display full content of Single Course, can not edit.',
							'learnpress'
						)
					}
				</div>
			</Placeholder>
		</div>
	);
};

export default Edit;

```
