Title: MaybeJustMaybe's Replies | WordPress.org

---

# MaybeJustMaybe

  [  ](https://wordpress.org/support/users/maybejustmaybe/)

 *   [Profile](https://wordpress.org/support/users/maybejustmaybe/)
 *   [Topics Started](https://wordpress.org/support/users/maybejustmaybe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/maybejustmaybe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/maybejustmaybe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/maybejustmaybe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/maybejustmaybe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/maybejustmaybe/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [I can't understand wp_insert_link();](https://wordpress.org/support/topic/i-cant-understand-wp_insert_link/)
 *  Thread Starter [MaybeJustMaybe](https://wordpress.org/support/users/maybejustmaybe/)
 * (@maybejustmaybe)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/i-cant-understand-wp_insert_link/#post-6635469)
 * Instead of having a plugin, I’d like to learn how to add this myself. I want 
   to **PROGRAM** it but not use it as plugin.
 * I wrote this part after reading, here comes to next part after I tried enabling
   it (it is included in the link you provided):
 * So my code is not changed a lot, it’s this:
 *     ```
       <?php
   
       // Plugin Name: Experiment
   
       	add_filter( 'pre_option_link_manager_enabled', '__return_true' );
   
           $linkdata = array(
       	'link_name' => 'I"M HERE!!',
       	'link_url' => 'http://codex.wordpress.org'
           );
   
           wp_insert_link( $linkdata, true);
   
       ?>
       ```
   
 * I went to _127.0.0.1/prj/wp-admin/options.php_. And changed _link\_manager\_enabled_.
   From 0 to 1. And there’s still no link.

Viewing 1 replies (of 1 total)