404
The Page you are looking for is no longer exists. Please use search or navigate from Homepage.
Back to homepage/** * Plugin install helper. * * @package Construction_Landing_Page */ /** * Class Construction_Landing_Page_Getting_Started_Page_Plugin_Helper * * @package Construction_Landing_Page_Getting_Started_Page */ class Construction_Landing_Page_Getting_Started_Page_Plugin_Helper { /** * Instance of class. * * @var bool $instance instance variable. */ private static $instance; /** * Check if instance already exists. * * @return Construction_Landing_Page_Getting_Started_Page_Plugin_Helper; */ public static function instance(){ if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Construction_Landing_Page_Getting_Started_Page_Plugin_Helper ) ) { self::$instance = new Construction_Landing_Page_Getting_Started_Page_Plugin_Helper(); } return self::$instance; } /** * Get plugin path based on plugin slug. * * @param string $slug - plugin slug. * * @return string */ public static function get_plugin_path( $slug, $filename ){ return $slug . '/' . $filename; } /** * Generate action button html. * * @param string $slug plugin slug. * @param array $settings button settings. * * @return string */ public function get_button_html( $slug, $filename, $settings = array() ) { $button = ''; $redirect = ''; if ( ! empty( $settings ) && array_key_exists( 'redirect', $settings ) ) { $redirect = $settings['redirect']; } $state = $this->check_plugin_state( $slug, $filename ); if ( empty( $slug ) ) { return ''; } $additional = ''; if ( $state === 'deactivate' ) { $additional = ' action_button active'; } $button .= '
25 years industry experience
The Page you are looking for is no longer exists. Please use search or navigate from Homepage.
Back to homepage