Tagged Questions
1
vote
1answer
559 views
Override plugin functions in functions.php
I´d like to override $title = get_bloginfo(); with --> $title = get_bloginfo('siteurl');
Some code from the plugin "Really simple Facebook Twitter share buttons":
function really_simple_share ...
1
vote
1answer
256 views
Update user meta of author when post content is viewed
I have a value that I'm trying to store as user meta for authors on my site. I need it to update itself every time the content of a post is viewed for that author. Here's as far as I've gotten but it ...
1
vote
1answer
172 views
Which action does wp_update_user triggers?
I am working modifying an ecommerce plugin, and it makes uses of wp_update_user() function, and everytime the function runs another table (created by the plugin), gets updated too. The problem is that ...
0
votes
1answer
431 views
Uses for function: wp_update_user
my theme currently uses the wp_update_user function to update a set of user metas.
I created to some new user meta fields that I would like to include in the existing wp_update_user. The function ...
0
votes
2answers
643 views
How to get plugin name from plugin file location
I'm running this code to tell me what plugins need updating:
$update_plugins = get_site_transient('update_plugins');
Here is an example return:
Array
(
[login-lockdown/loginlockdown.php] => ...