📂 FileMgr
📍
/home/coemyoza/public_html/wp-content/plugins/give/blocks/components/no-form
✏️ Edit File: /home/coemyoza/public_html/wp-content/plugins/give/blocks/components/no-form/index.js
⬅ Kembali
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n' import { Button } from '@wordpress/components'; /** * Internal dependencies */ import { getSiteUrl } from '../../utils'; import GiveBlankSlate from '../blank-slate'; /** * Render No forms Found UI */ const NoForms = () => { return ( <GiveBlankSlate title={ __( 'No donation forms found.', 'give' ) } description={ __( 'The first step towards accepting online donations is to create a form.', 'give' ) } helpLink> <Button isPrimary isLarge className="give-blank-slate__cta" href={ `${ getSiteUrl() }/wp-admin/post-new.php?post_type=give_forms` }> { __( 'Create Donation Form', 'give' ) } </Button> </GiveBlankSlate> ); }; export default NoForms;
💾 Simpan File
Batal
⬅ Naik ke components
1 item
Nama
Tipe
Ukuran
Diubah
Aksi
📜
index.js
js
761 B
2022-11-29 18:00
✏️ Edit
👁️ View
🗑 Hapus