You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
Ryan Hertz edited this page Apr 3, 2018
·
1 revision
Assumes the user has never installed the plugin and this is the first interaction with it.
Tests
<?phpif( !get_option( 'fmc_settings' ) ){
// The site does not have settings from the previous version of the plugin// No transition is necessary - it's a clean install
}
if( !get_option( 'flexmls_api_key' ) ){
// The new version will store the api key here// If it doesn't exist, this site hasn't connected before and it's a first run
}
User Experience
Until the user has connected to the API, there's nothing else to be done so we'll only show the first-run screen under the flexMLS dashboard menu item. Once the API credentials are entered & validated and other first-run options are set, this page will go away.