Hook to get image filename when it is uploaded
I want to get the full local filename of an uploaded image so that I can copy it to a new directory and … Read more
I want to get the full local filename of an uploaded image so that I can copy it to a new directory and … Read more
Related to this question (Use wp init hook to call other hooks?) but not the same. Sometimes, I found that the hook will … Read more
I am trying to create one basic plugin where I want to create my own action hook. Here is the code for the … Read more
Is there a way to check if a custom hook gets called upon? I would like to display a placeholder if no output … Read more
Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be … Read more
as the title implies – I would like to suppress attachments of a specific post type(s) from showing up in the “Media Library” … Read more
I use a lot of plugins on my site so I’m trying to minimize the amount more plugins. I was wondering if there’s … Read more
Based on research here and elsewhere, I have the following code that sets a cookie on a site: add_action( ‘init’, ‘my_set_cookie’,1 ); function … Read more
I have a basic question that has always stumped me. I’m trying to move the Star Rating into the comment meta, which will … Read more
im kind of a wordpress noob so please excuse my inexperience. so long story short, ive been tasked with creating a WP theme … Read more