Skip to main content

Questions tagged [activation]

3 votes
1 answer
86 views

I'm working on a plugin and have an activation hook that creates several tables using dbDelta. The tables all get created without any errors or issues. Several of the tables have foreign key ...
Jesse Williams's user avatar
0 votes
1 answer
79 views

I would like to prevent the proccessing of a plugin on its activation / deactivation, so I use the following code: $get = map_deep( wp_unslash( $_GET ), 'sanitize_text_field' ); if ( isset( $get['...
pehu's user avatar
  • 23
0 votes
1 answer
94 views

Description: I am facing an issue with my WordPress plugin where the table creation process upon activation is not working as expected. Here are the details: What I Tried: Checked the SQL query: ...
pervez's user avatar
  • 1
0 votes
2 answers
103 views

I have a bimber WordPress template, it has a User section in admin panel, when a new user signups, it goes to pending section, waiting for me to send an activation mail. How can I automate this ...
Meric Ozcan's user avatar
0 votes
1 answer
109 views

I have a couple of plugins that need to install drop-in modules or mu-plugin modules when they're activated, and remove them when they're deactivated. This requires copying -- or maybe symlinking -- a ...
O. Jones's user avatar
  • 483
0 votes
1 answer
1k views

I'm developing a plugin that needs a certain php extension (sqlite3) to be available, or it can't work correctly. Is there a way I can present an error message to the site owner when they try to ...
O. Jones's user avatar
  • 483
1 vote
2 answers
1k views

I searched the whole net and stackexchange for a reason and a solution, but couldn't find any. There are many questions (and answers) related to own plugins and the code how to create tables on ...
Christin Löhner's user avatar
0 votes
1 answer
232 views

I've created a custom login page login.php inside the root. (e.g.: http://www.example.com/login.php) /* LOGIN PAGE. */ // Login URL. function custom_login_url($login_url, $redirect, $force_reauth ...
Andrea Alba's user avatar
0 votes
0 answers
30 views

Installed TinyMCE, but still getting this toolbar : https://ps.w.org/tinymce-advanced/assets/screenshot-1.jpg?rev=2390186 instead of this : https://ps.w.org/tinymce-advanced/assets/screenshot-4.jpg?...
sten's user avatar
  • 101
0 votes
1 answer
455 views

This is the main plugin file. It activates but nothing happens. The menu is not created. /* * Activate plugin * create admin menu * create more stuff */ register_activation_hook(__FILE__, '...
Kustom's user avatar
  • 1
1 vote
0 answers
153 views

I have problems that my checkIfTablesExists() function is never called, even though I add some fake table name to the list of table names. The reason I want to make this function is to check if the ...
egillanton's user avatar
0 votes
1 answer
74 views

sorry for my bad English. I want to create multiple pages when activating a plugin. This also works, but how do I get different content in the different pages? if (!current_user_can('activate_plugins')...
EndlessOne's user avatar
1 vote
0 answers
48 views

I have received a Sucuri alert for an unauthorized plugin activation: Event: Plugin Activated Website: http://www.XXXXXX.XXX IP Address: XXX.XXX.XXX.XXX Reverse IP: XXXXXX.XXXXXX.XXXX Date/Time: 7 ...
AlexBa's user avatar
  • 11
0 votes
1 answer
1k views

Class cannot be found, but the declaration is correct. Here is my code: Info-Wheel.php if ( file_exists( dirname( __FILE__ ) . "/vendor/autoload.php" ) ) { require_once dirname( __FILE__ )...
Mähnenwolf's user avatar
0 votes
1 answer
250 views

I have created a plugin that register a new CPT but it doesnt work because i have to flush_rewrite_rules() (i can do this by going into the permalink setting page and save, but its not the right way) ...
NeaMitika's user avatar

15 30 50 per page
1
2 3 4 5
11