Skip to main content
Add these to your theme’s functions.php or a site-specific plugin.

Content generation

generatify_ai_content_generation_post_types

Which post types get the Generate with AI button.
array
default:"['post']"

generatify_ai_content_generation_languages

The language list offered in the generation dialog.
array
Defaults to English, Spanish, French, German, Italian, Portuguese, Dutch, Polish, Russian, Ukrainian, Georgian, Turkish, Arabic, Hindi, and Chinese, among others.

generatify_imagen_model

Overrides which image model is used, instead of discovering one from the key.
string|null
default:"null"
string
Return a model identifier as a non-empty string to force it. Return null to keep the default discovery.

generatify_image_request_timeout

Seconds to wait for an image to come back.
float
default:"180.0"

Internal linking

Generated articles are linked to posts you have already published. These four control that.

generatify_ai_internal_linking

bool
default:"true"

generatify_ai_internal_link_post_types

Which post types may be linked to.
array
How many existing posts are considered as candidates.
int
default:"100"
Raising this widens the search at the cost of a larger request. Lower it on very large sites if generation is slow. The final say over what may be linked to, after the pool has been gathered.
array
required
string
string
int

Content summary

generatify_ai_content_summary_post_types

Where the summary button appears.
array
default:"['post']"

generatify_ai_content_summary_prompt

The prompt sent to ChatGPT when a reader selects the button.
string
required
int

Helpdesk contact form

These four shape the email sent when a visitor uses contact mode. Each receives the visitor’s name, email, and message alongside the value being filtered.

Requests and timeouts

generatify_ai_request_timeout

Seconds to wait for a provider response.
float
default:"180.0"

generatify_ai_time_limit

The PHP execution limit set for a copilot request, which needs headroom for the whole tool loop rather than a single call.
int
Defaults to four times the request timeout.
Raising this does nothing if your host caps execution time above WordPress. If long generations are cut short, check the host limit before changing this.

generatify_openai_reasoning_effort

Applies only to OpenAI models that require an explicit reasoning effort when tools are in use.
string
default:"'none'"
string

Admin

generatify_admin_js_vars

Filters the variables passed to the admin JavaScript.
array
required

Actions

generatify_settings_update:before

Fires before settings are written, with the merged settings about to be saved.
array
required

generatify_settings_update:after

Fires immediately after the settings option is updated.
array
required

generatify_pro_loaded

Fires once the Freemius SDK is initialized, before the plugin’s features are constructed. The earliest safe point to check licensing state.

Constants