Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 51 results for
deactivation
- Page 1
writing wp plugin:on deactivation it doesn't drop tables from db
Programming
Web Development
10 Years Ago
by surferbloggy
Hi I've wrote a plugin it works but on
deactivation
it doesn't drop the plugin tables from db this …
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by gabrielcastillo
you need to use the `delete_option();` on a
deactivation
method register_deactivation_hook( __FILE__, 'remove_options' ); function remove_options() { delete_options('plugin_options'); }
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by rubai
…, may be for my fault. Here is my activation and
deactivation
code function pluginframework_activation() { } register_activation_hook(__FILE__, 'pluginframework_activation'); function pluginframework_deactivation() { } // register_deactivation_hook(__FILE__…
Re: writing wp plugin:on deactivation it doesn't drop tables from db
Programming
Web Development
10 Years Ago
by Tpojka
Check [this code](http://wordpress.org/support/topic/how-to-drop-table-from-database). Bit different than yours.
Re: writing wp plugin:on deactivation it doesn't drop tables from db
Programming
Web Development
10 Years Ago
by surferbloggy
with this code it worked!! global $wpdb; //required global declaration of WP variable $table_name = $wpdb->prefix.$table_name; $sql = "DROP TABLE ". $table_name; $wpdb->query($sql); thank you!!
Re: writing wp plugin:on deactivation it doesn't drop tables from db
Programming
Web Development
10 Years Ago
by Tpojka
Nice. Mark it as solved.
Help figuring out
Programming
Software Development
18 Years Ago
by Lothia
…, hDC); } void GameDeactivate(HWND hWindow) { HDC hDC; RECT rect; // Draw
deactivation
text on the game screen GetClientRect(hWindow, &rect); hDC…
Connecting to secure server with client
Programming
Software Development
14 Years Ago
by wakeboarder1335
… is taken down */ /* Otherwise, annoying wait reqired after each server
deactivation
*/ i = 1; if (setsockopt(socknum, SOL_SOCKET, SO_REUSEADDR, (void *)&i…
Online payment service relies on snail mail and a prayer data security
Hardware and Software
Networking
16 Years Ago
by happygeek
…, the customer did not have a problem with the account
deactivation
nor the fact that to reactivate it a form had…
Regarding the maximum memory allocated by malloc() function on HP-UX B11.11
Programming
Software Development
13 Years Ago
by vipin.sachan
… Customer’s id, contract id, cell number, Activation Date and
Deactivation
Date in memory. So to avoid this issue, I hardcoded…
Hacking (Please hear me out)
Programming
Software Development
11 Years Ago
by Labdabeta
… (like shutdown with a long time delay, followed by a
deactivation
[something I know how to write in batch]) When I…
Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by rubai
I am new in plugin development. I created a plugin with the help of http://codex.wordpress.org/Creating_Options_Pages <?php /* Plugin Name: 1pluginframework Plugin URI: Description: Custom plugin for lendingbig website. Version: 1.0 Author: Jahur Ahmed Author URI: License: GPLv2 or later */…
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by gabrielcastillo
You have the right code.. you just need to change plugin_options to the name of your options array name.
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by gabrielcastillo
So if you do `register_settings('p_option', 'plugin_options');` you would need to do `delete_options('p_option');`
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by rubai
Hi gabrielcastillo, You are helping me a lot. :) Can you give me full code? I am really new to this.
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by gabrielcastillo
When creating options for plugin you need to register options settings array [Doc](http://codex.wordpress.org/Function_Reference/register_setting) So when you want to delete the settings options array, you would need to use delete_options with the registered settings var. [Doc](http://codex.wordpress.org/Function_Reference/delete_option) You …
Re: Wordpress plugin values are still showing upon plugin deactivation
Programming
Web Development
10 Years Ago
by rubai
Thanks gabrielcastillo! :)
Pinterest account deactivation
Digital Media
Digital Marketing
9 Years Ago
by iqcomtech
Hi friends, I have created an account in pinterest and now i forget my pinterest email id, I don't have idea which email i have uesd for it,and i need to delete that account.I know only url of my pinterest page.How to delete this account? Thanks in advance for your informations.
Re: Pinterest account deactivation
Digital Media
Digital Marketing
9 Years Ago
by PixelatedKarma
Contact their support team....or just create a new account? But try and remember the email id this time
Re: Using Piracy @ Microsoft.com
Hardware and Software
Microsoft Windows
18 Years Ago
by BILL S
… Pack Subscription, I read something about ten installs before a
deactivation
or one is required, anyway, I booted it up to…
Re: exam question feedback
Programming
Software Development
17 Years Ago
by jwenting
… those events directly related to the Window itself (activation and
deactivation
), and not even all of those. An ActionListener only responds…
Re: Help!
Community Center
Say Hello!
14 Years Ago
by Deehem
…]http://www.facebook.com/deactivate.php[/url] 3. Confirm your
deactivation
. Jobs done. :)
Re: pop-up screen problem
Programming
Software Development
14 Years Ago
by finalist
… the method Timer1Timer(Sender: TObject); I did stop it by
deactivation
the TTimer Component: [color=red] Timer1.enabled := False; { Avoids multiple…
Re: Random style sheet selection on homepage that is then consistent throughout the site?
Digital Media
UI / UX Design
13 Years Ago
by printman55
… to the last selected stylesheet it was using before the
deactivation
of cookies. A reboot does get you a new stylesheet…
Re: What New Thing Did You Learn Today??
Community Center
Geeks' Lounge
13 Years Ago
by suhnako
i learned that the more you shoved six feet under your vices..the more you'll get habituated. i wish that facebook
deactivation
has an expiration date that could last for a year...a facebook addict like me finds hard to move on and be responsible to the promises(to do not use the social site). :((
Re: Bluescreen and Java issues@PhilliePhan
Hardware and Software
Information Security
13 Years Ago
by PhilliePhan
… don't know what could be blocking it given the
deactivation
of Comodo and the attempts in safe mode.... Could you…
Re: Access restrictions on Tinymce editor or math editor plugin
Programming
Web Development
11 Years Ago
by kishoresai438
Pritaeas, Thanks for your response. Need to confirm Restrictions like 1) After some days, Payment for Continuation of using this tool 2)
Deactivation
like after trail period of using this tool. I am not sure about this tool having Trail version.... Thats y i need to cofirm.....
Re: form seems to reactivate
Programming
Software Development
11 Years Ago
by TnTinMN
The form deactivate/Activate only seems to occur in you use the MonthCalendar dropdown to make the selection. It probably has to do with the MonthCalendar control being displayed a Modal window (like a dialog box) and it taking focus (hence the
deactivation
of the form) when clicked on. The form is reactivated when the MonthCalendar closes.
Re: Help figuring out
Programming
Software Development
18 Years Ago
by WolfPack
This type of program is called Win32 GUI Application programming. You dont have a main function for those programs. Instead there is a [inlinecode]WinMain[/inlinecode] function for the starting point. The way you start such a program is different than from a console program. This depends on the compiler you use. If you are using a Visual Studio…
Re: Help figuring out
Programming
Software Development
18 Years Ago
by Lothia
Hmm I was using the 32 Counsil Application (not the 32 application) Can you explain to me the difference between the two?
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC