enqueue_scripts(); } public function render_content() { if ( defined( 'WPCF7_PLUGIN' ) ) { printf( esc_html__( 'You should be able to see the contact form in contact section on your front-page. You can configure settings from %s, in your WordPress dashboard.', 'business-responsiveness' ), sprintf( '%s', esc_html__( 'Contact > Add New', 'business-responsiveness' ) ) ); } else { printf( esc_html__( 'To access contact form in contact section in front page, you need to install the %s plugin.','business-responsiveness' ), esc_html( 'contact form 7' ) ); echo $this->create_plugin_install_button('contact-form-7'); } } public function create_plugin_install_button( $slug ) { return Business_Responsiveness_Plugin_Install_Helper::instance()->get_button_html( $slug ); } }