WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
544 | delete_option('txpid2wpid'); |
545 | delete_option('txpcat2wpcat'); |
546 | delete_option('txpposts2wpposts'); |
547 | delete_option('txpcm2wpcm'); |
548 | delete_option('txplinks2wplinks'); |
549 | delete_option('txpuser'); |
550 | delete_option('txppass'); |
551 | delete_option('txpname'); |
552 | delete_option('txphost'); |
553 | do_action('import_done', 'textpattern'); |
554 | $this->tips(); |
555 | } |
556 |
|
557 | function tips() |
558 | { |
559 | echo '<p>'.__('Welcome to WordPress. We hope (and expect!) that you will find this platform incredibly rewarding! As a new WordPress user coming from Textpattern, there are some things that we would like to point out. Hopefully, they will help your transition go as smoothly as possible.').'</p>'; |
560 | echo '<h3>'.__('Users').'</h3>'; |
561 | echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password. Forget it. You didn’t have that login in Textpattern, why should you have it here? Instead we have taken care to import all of your users into our system. Unfortunately there is one downside. Because both WordPress and Textpattern uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users. <strong>Every user has the same username, but their passwords are reset to password123.</strong> So <a href="%1$s">Login</a> and change it.'), get_bloginfo( 'wpurl' ) . '/wp-login.php').'</p>'; |
562 | echo '<h3>'.__('Preserving Authors').'</h3>'; |